Reputation: 10379
Is there an easy way in IDEA 12 to rename a project in the "Recent Projects" list?
Upvotes: 98
Views: 56624
Reputation: 1251
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.
Upvotes: 0
Reputation: 31
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!
Upvotes: 3
Reputation: 4605
Sublime Text
, use Ctrl+Shift+F
to replace all "old" to "new"Then reopen this project and build it!
Upvotes: 3
Reputation: 101
Change your project using refactor. (first change your project folder name).
Everything should be ok now.
Upvotes: 10
Reputation: 1157
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.
Upvotes: 13
Reputation: 15539
I've tried the answer of @Matthias, @Ernest and @fhucho, but did not work (with 12.1.6CE).
What made it work was:
.ipr
file, as proposed by @Ernest
.iml
nor .iws
file.idea/.name
replace all occurrences for the initial project name by the new one in all .xml
files
find . -name "*.xml" -exec grep -Hn $InitProjectName {} \;
Upvotes: 6
Reputation: 119
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
1) artifacts in folder -> xml
2) runConfigurations in folder -> xml
3) modules.xml
4) workspace.xml
5) [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 :)
Upvotes: 2
Reputation: 590
To rename project in IDEA 13 CE
Upvotes: 8
Reputation: 10379
Found the solution.
You can rename the Project under "File > Project Structure > Project > Project Name".
Upvotes: 148