Renaming a project in IntelliJ IDEA

前端 未结 13 1367
無奈伤痛
無奈伤痛 2020-12-07 14:48

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

13条回答
  •  情话喂你
    2020-12-07 15:01

    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)

提交回复
热议问题