当前位置:网站首页>Summary of idea practical skills: how to rename a project or module to completely solve all the problems you encounter that do not work. It is suggested that the five-star collection be your daughter
Summary of idea practical skills: how to rename a project or module to completely solve all the problems you encounter that do not work. It is suggested that the five-star collection be your daughter
2022-06-24 20:46:00 【Interesting talk about handsome men】
In the actual development process , You often encounter creating a project perhaps module I didn't think out my name when I was , During the development process, it suddenly occurred to me that a suitable name needs to be modified , Maybe everyone's focus is on how to write business code , Yes IDE As long as it works , I seldom study hard IDE Related skills . I also encountered this problem , First summarize it and share it with you , It is convenient for students who encounter problems to consult .
Rename Methods
Usually people right-click directly Refactor, And then choose Rename

- rename project
- rename module, Usually choose module and directory
- There are two when modifying search To check ,scope Range selection All Places

- If you follow the above procedure , After modifying the name , If you take it for granted that it has been revised, you are very wrong . Let me give you an example , I want to put cloud-loadbalancer-client6060 Change to 6061, You see in project Window modified , But in maven The window has not been modified . Now let's tell you , except Rename outside , What else is needed .

Focus on auxiliary operations
Check the book module Of pom Whether the name has been changed in the document , The name is the above maven The real reason for not changing the name .

- Check the parent project pom Whether the file name has been modified , Found not modified , It's all wrong

- F4 Open check Module Setting, Or right-click to select Open Module Setting, Check whether to modify

- see project Of .idea file , Usually in compiler.xml、encodings.xml Some parts of the two documents are also omitted to be renamed , Use editing tools ,Ctrl+F Find the total number of , Then modify them one by one , Remember never to correct your mistakes .

- After the above-mentioned methods are used to check and fill the gaps , Basically, the revision is finished , You can safely and boldly use renamed projects and Module 了 .
summary :
- The development tools are not perfect , There is a lot of room for adjustment , Not only is Idea There is this problem ,eclipse Also have
- Problems encountered in the development process should be summarized , And write it down , Otherwise, it will take a long time , I forgot , I will still be crazy when I meet you again .
- It's a good habit to write it down and make notes once and for all .
Access to the source code , Please pay attention to the official account. , reply 【cloud】 obtain

You are also welcome to add personal wechat 【shishuai860505】, I pull everyone into my reader exchange group .

边栏推荐
- 2022年最新四川建筑八大员(电气施工员)模拟题库及答案
- C language to realize mine sweeping (simple version)
- 微信小程序中使用vant组件
- Two fellow countrymen from Hunan have jointly launched a 10 billion yuan IPO
- 传统的IO存在什么问题?为什么引入零拷贝的?
- Apple doesn't need money, but it has no confidence in its content
- Docker deploy mysql5.7
- 顺序栈1.0版本
- Behind Tiantian Jianbao storm: tens of millions in arrears, APP shutdown, and the founder's premeditated plan to run away?
- The name of the button in the Siyuan notes toolbar has changed to undefined. Has anyone ever encountered it?
猜你喜欢

Haitai Advanced Technology | application of privacy computing technology in medical data protection

Apple, Microsoft and Google will no longer fight each other. They will work together to do a big thing this year

Image panr

顺序栈遍历二叉树

伯克利、MIT、剑桥、DeepMind等业内大佬线上讲座:迈向安全可靠可控的AI

二叉树的基本性质与遍历

图的基本概念以及相关定义

两位湖南老乡,联手干出一个百亿IPO

Byte and Tencent have also come to an end. How fragrant is this business of "making 30million yuan a month"?

天天鉴宝暴雷背后:拖欠数千万、APP停摆,创始人预谋跑路?
随机推荐
Where is 5g really powerful? What is the difference with 4G?
Fuzzy background of unity (take you to appreciate the hazy beauty of women)
图像PANR
虚拟化是什么意思?包含哪些技术?与私有云有什么区别?
You can capture fingerprints with a mobile camera?! Accuracy comparable to signature and monogram, expert: you are aggravating discrimination
主数据建设的背景
两位湖南老乡,联手干出一个百亿IPO
RF_ DC system clock setting gen1/gen2
How does the video platform import the old database into the new database?
The four stages of cloud computing development have finally been clarified
With its own cells as raw materials, the first 3D printing ear transplantation was successful! More complex organs can be printed in the future
全上链哈希游戏dapp系统定制(方案设计)
Internet of things? Come and see Arduino on the cloud
Image panr
Leetcode(135)——分发糖果
Design of routing service for multi Activity Architecture Design
Dx12 engine development course progress - where does this course go
Selenium crawl notes
IDEA Dashboard
[普通物理] 光栅衍射
