I have some projects where the directory containing the project is called "Code".
When I open IDEA, in my recent projects list all I see is that name.
Is there any method to change this in settings ?
I tried going to File->Project Structure->Project, I couldn't find the Project Name option in IntelliJ IDEA 13.
I see this in my project settings.
This worked for me:
Tips for renaming a Gradle project
Exit IntelliJ IDEA
Edit contents of the following files
{project_root}/settings.gradle {project_root}/.idea/.name
Open IntelliJ IDEA
Refresh Gradle Project
I completed the renaming as below.
The attached image is structured in project folder.
close IDEA intellij (14.0.2)
change intellij project name (folder)
e.g) old_project_name -> new_project_name
change
.idea
in folderWe 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 :)
Following are the steps to be followed in IntelliJ Idea Community Edition:
Go to File >> Project Structure >> Project > Project Name Update project name with its new name.
Go to pom.xml Update project name with its new name in the
Select "Project" view and click root folder of the project then refactor its name.
Exit IntelliJ Idea and Rename root folder name in the windows directory structure where this project repository is stored.
Restart IntelliJ Idea and import the project using "Import project from existing resource" option.
Meanwhile I talk about IntelliJ 2016.2.
There are various names involved.
Usually all these names are the same which makes life easier.
Sometimes they are not. There are many reasons why they should be different. E.g., this helps me to differentiate project versions (I also use the image background feature of IntelliJ 2016.2) when I have simultaneously the same project on two branches.
While you change these names, IntellJ may generate a new *.iml with the artifactId name (brown). In this case just delete the *.iml file you don't want to keep.