IntelliJ IDEA: How to rename a project (in "Recent Projects" list)?
Intellij IdeaIntellij Idea Problem Overview
Is there an easy way in IDEA 12 to rename a project in the "Recent Projects" list?
Intellij Idea Solutions
Solution 1 - Intellij Idea
Found the solution.
You can rename the Project under "File > Project Structure > Project > Project Name".
Solution 2 - Intellij Idea
Simply edit the file that contains the name: .idea/.name
.
Solution 3 - Intellij Idea
If your project is file based, you cannot rename the project from within IDEA.
Convert your project to a directory based format, and then you will have the option to rename it under "File > Project Structure > Project > Project Name".
This was just done on 14 ultimate.
Solution 4 - Intellij Idea
Change your project using refactor. (first change your project folder name).
- Select Project Name.
- Select Refactor->Rename
- Input new Project.
Everything should be ok now.
Solution 5 - Intellij Idea
To rename project in IDEA 13 CE
- Close IDEA project
- Find project files *.ipr, *.iml, *.iws
- Rename all these files as you want to be named project e.g. New Project.ipr(iml,iws)
- Open project file in IDEA
Solution 6 - Intellij Idea
I've tried the answer of @Matthias, @Ernest and @fhucho, but did not work (with 12.1.6CE).
What made it work was:
- change the name of the project folder
- find and rename the
.ipr
file, as proposed by @Ernest- Note: I did not have any
.iml
nor.iws
file
- Note: I did not have any
- change the name in
.idea/.name
- 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 {} \;`
Solution 7 - Intellij Idea
- Rename all old*.iml to new*.iml
- Open this project in
Sublime Text
, useCtrl+Shift+F
to replace all "old" to "new"
Then reopen this project and build it!
Solution 8 - Intellij Idea
I found the solution to change “Recent Projects” list!
-
browse 'setting.gradle' in your project
-
change rootProject.name='new_project_name'
However, this way only changes the project name.
Try the answer of @Matthias together!
Solution 9 - Intellij Idea
I completed the renaming as below.
The attached image is structured in project folder.
> Must make changes in the xml into a new project name.
-
close IDEA intellij (14.0.2)
-
change intellij project name (folder)
e.g) old_project_name -> new_project_name
-
change
.idea
in folder
We have only changed the
-
artifacts in folder -> xml
-
runConfigurations in folder -> xml
-
modules.xml
-
workspace.xml
-
[your_project_name].iml
(Depending on your project structure, your folder may not contain xml
)
-
restart IDEA intellij
-
File -> Import Module...[your intellij project]
I hope this helps you :)
Solution 10 - Intellij Idea
I have tried all above solutions but the solution that worked for me is, renaming the folder manually after closing the IDE. Once it is renamed, it is all good to show the new project name.