How to delete projects in IntelliJ 12?

前端 未结 10 1119
予麋鹿
予麋鹿 2021-01-30 07:51

I created some dummy projects. Now I don\'t see any way to delete the projects that I don\'t want. Per this suggestion I can delete files, the project is going away but there is

相关标签:
10条回答
  • 2021-01-30 08:17

    Also, in IDEA 13.x.x you can go File-> Close Project and you'll land in the window with Recent Projects tab. There pressing Del of Fn + Del on selected project helps .

    0 讨论(0)
  • 2021-01-30 08:19

    All you have to do is go to file - close project - to avoid seeing them again in the menu list and then you delete them from the projects directory.

    0 讨论(0)
  • 2021-01-30 08:21

    On OSX Mountain Lion and IDEA 14, with the project open and focused, you can go to file -> close project, then delete the project from your filesystem. This removed all references to the project.

    Note that if the project you are deleting is the only project open, closing it will show the welcome dialog, which will still show the project. Deleting the project manually from within your operating system is the next step, and the project will still appear in the welcome dialog until it is closed and shown again, usually by opening another project from the list, or quitting and restarting IDEA.

    0 讨论(0)
  • 2021-01-30 08:23

    On occasion, even with deletion of the project, some tidbits are left behind in the following Windows paths:

    • C:\Users\username.domain\.IntelliJIdea2017.1\system\compiler
    • C:\Users\username.domain\.IntelliJIdea2017.1\system\compile-server
    • C:\Users\username.domain\.IntelliJIdea2017.1\system\frameworks\detection
    • C:\Users\username.domain\.IntelliJIdea2017.1\system\conversion
    • C:\Users\username.domain\.IntelliJIdea2017.1\config\componentVersions
    • C:\Users\username.domain\.IntelliJIdea2017.1\config\tasks

    This has been proven to be problematic - for example, if a new project is created using a previously deleted project name, it will create the project with data stored in the above paths, at least, this has been my experience.

    The only way to TRULY delete the project is to get rid of all the garbage left behind in the aforementioned folders. I would suggest using Search Everything to find more tidbits left in the users temp folders.

    0 讨论(0)
  • 2021-01-30 08:25

    In case your project is imported as a module, you can also go to File --> Project Structure and click 'Modules' in the left section. Now you can hit the minus button to remote the module from the project.

    0 讨论(0)
  • 2021-01-30 08:29

    In my case, I had to delete home/.IntelliJIdea2017.2/config/options/recentProjects.xml . In my file system (Ubuntu) this file appeared for some weird reason not writable and hold a list of projects I couldn't get rid of. Deleting this file and restarting will force Intellij IDEA to create a new one with an empty list of projects.

    0 讨论(0)
提交回复
热议问题