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 t
This worked for me:
You can change the project name, which is the name that is shown in the recent projects list, like so:
Go to Project Structure
(Ctrl+Alt+Shift+S) → Project Settings / Project → Project name:
Please note that this is not to be confused with name of the root module, or folder on the file system, which may or may not be similar.
Edit
Please try going into your .idea
folder in the project, create a file named .name
and enter a project name on a single line.
e.g.
my-new-project-name
Then restart IntelliJ.
This presumes you are using a folder-based Idea project in .idea
(rather than file based, with .iws file etc)
I recently figured out a way to do this.
I wrote a bash script that you run from the root folder of your project (only tested on Mac) to rename all of the files in the .idea folder that contain your project name, and do a find-replace inside those files.
BE CAREFUL: Make sure your project name is unique - i.e., a project name like 'towers-of-hanoi' is unique and the script will have no problems, but a project called 'a' will, as all instances of 'a' in the files will be replaced with the new project name.
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
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.