Renaming a project in IntelliJ IDEA

前端 未结 13 1371
無奈伤痛
無奈伤痛 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:11

    intellij project structured in folder

    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.

    1. close IDEA intellij (14.0.2)

    2. change intellij project name (folder)

      e.g) old_project_name -> new_project_name

    3. 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)

    1. restart IDEA intellij

    2. File -> Import Module...[your intellij project]

    I hope this helps you :)

提交回复
热议问题