当前位置:网站首页>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 .

边栏推荐
- 《梦华录》“超点”,鹅被骂冤吗?
- [performance tuning basics] performance tuning standards
- Leetcode (135) - distribute candy
- 视频平台如何将旧数据库导入到新数据库?
- Showcase是什么?Showcase需要注意什么?
- 16 excellent business process management tools
- Prototype mode -- clone monster Army
- With its own cells as raw materials, the first 3D printing ear transplantation was successful! More complex organs can be printed in the future
- lol手游之任务进度条精准计算
- [cann document express issue 06] first knowledge of tbe DSL operator development
猜你喜欢

Cooking business experience of young people: bloggers are busy selling classes and bringing goods, and the organization earns millions a month

Wechat applet custom tabbar

顺序表的基本操作
![[普通物理] 光栅衍射](/img/f3/965ff7cd3bb76b4f71b69b9d12ece3.png)
[普通物理] 光栅衍射

The latest simulated question bank and answers of the eight members (Electrical constructors) of Sichuan architecture in 2022

The four stages of cloud computing development have finally been clarified

虚拟化是什么意思?包含哪些技术?与私有云有什么区别?

Apple doesn't need money, but it has no confidence in its content

微信小程序自定义tabBar

Berkeley, MIT, Cambridge, deepmind and other industry leaders' online lectures: towards safe, reliable and controllable AI
随机推荐
Apple, Microsoft and Google will no longer fight each other. They will work together to do a big thing this year
The difference between RPC and restful
IDEA Dashboard
Anti epidemic through science and technology: white paper on network insight and practice of operators | cloud sharing library No.20 recommendation
Berkeley, MIT, Cambridge, deepmind and other industry leaders' online lectures: towards safe, reliable and controllable AI
用自身细胞作为原料,首例3D打印耳朵移植成功!未来可打印更复杂器官
Bean lifecycle flowchart
Bridging mode -- law firm
[普通物理] 光栅衍射
Grating diffraction
Behind Tiantian Jianbao storm: tens of millions in arrears, APP shutdown, and the founder's premeditated plan to run away?
Stackoverflow annual report 2022: what are developers' favorite databases?
[performance tuning basics] performance tuning standards
VXLAN 与 MPLS:从数据中心到城域以太网
Leetcode(135)——分发糖果
首个大众可用PyTorch版AlphaFold2复现,哥大开源OpenFold,star量破千
Predicate
得物多活架构设计之路由服务设计
The largest DPU manufacturer in history (Part 1)
Vxlan and MPLS: from data center to Metro Ethernet
