IntelliJ IDEA: How to rename a project (in “Recent Projects” list)?

前端 未结 9 1109
名媛妹妹
名媛妹妹 2020-12-25 09:25

Is there an easy way in IDEA 12 to rename a project in the \"Recent Projects\" list?

9条回答
  •  时光说笑
    2020-12-25 10:01

    I've tried the answer of @Matthias, @Ernest and @fhucho, but did not work (with 12.1.6CE).

    What made it work was:

    1. change the name of the project folder
    2. find and rename the .ipr file, as proposed by @Ernest
      • Note: I did not have any .iml nor .iws file
    3. change the name in .idea/.name
    4. replace all occurrences for the initial project name by the new one in all .xml files

      • find them using:

      find . -name "*.xml" -exec grep -Hn $InitProjectName {} \;

提交回复
热议问题