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

边栏推荐
- [multi thread performance tuning] multi thread lock optimization (Part 1): optimization method of synchronized synchronization lock
- 物聯網?快來看 Arduino 上雲啦
- Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
- 主数据建设的背景
- Cooking business experience of young people: bloggers are busy selling classes and bringing goods, and the organization earns millions a month
- 年轻人捧红的做饭生意经:博主忙卖课带货,机构月入百万
- Leetcode (135) - distribute candy
- Two fellow countrymen from Hunan have jointly launched a 10 billion yuan IPO
- Vant component used in wechat applet
- Open programmable infrastructure (OPI) project, redefining dpu/ipu
猜你喜欢

The Network Security Review Office launched a network security review on HowNet, saying that it "has a large amount of important data and sensitive information"

Otaku can't save yuan universe

《梦华录》“超点”,鹅被骂冤吗?

Wechat applet custom tabbar

Set up your own website (14)

基于SSM的物料管理系统(源码+文档+数据库)

Enjoy yuan mode -- a large number of flying dragons

天天鉴宝暴雷背后:拖欠数千万、APP停摆,创始人预谋跑路?

VMware virtual machine setting static IP

字节、腾讯也下场,这门「月赚3000万」的生意有多香?
随机推荐
VMware virtual machine setting static IP
Use the transparent [x] cross button image in the dialog
You can capture fingerprints with a mobile camera?! Accuracy comparable to signature and monogram, expert: you are aggravating discrimination
Huawei cloud modelarts has ranked first in China's machine learning public cloud service market for the fourth time!
天天鉴宝暴雷背后:拖欠数千万、APP停摆,创始人预谋跑路?
I just purchased a MySQL database and prompted that there are already instances. The console login instance needs to provide a database account. How do I know the database account.
Image panr
Compressed list of redis data structures
Material management system based on SSM (source code + document + database)
Berkeley, MIT, Cambridge, deepmind et d'autres grandes conférences en ligne: vers une IA sûre, fiable et contrôlable
Behind Tiantian Jianbao storm: tens of millions in arrears, APP shutdown, and the founder's premeditated plan to run away?
物联网?快来看 Arduino 上云啦
[cloud resident co creation] ModelBox draws your own painting across the air
C语言实现扫雷(简易版)
"Super point" in "Meng Hua Lu", is the goose wronged?
消息称腾讯正式宣布成立“XR”部门,押注元宇宙;谷歌前 CEO:美国即将输掉芯片竞争,要让台积电、三星建更多工厂...
Fuzzy background of unity (take you to appreciate the hazy beauty of women)
Undo log and redo log must be clear this time
刚购买了一个MYSQL数据库,提示已有实例,控制台登录实例要提供数据库账号,我如何知道数据库账号。
京东一面:Redis 如何实现库存扣减操作?如何防止商品被超卖?
