How to delete projects in IntelliJ 12?

Intellij Idea

Intellij Idea Problem Overview


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 traces of it still available. For example, on the Recent Projects you can still see the name of the project you just deleted. So I am thinking there should be another (and really easy way) to delete a project.

Intellij Idea Solutions


Solution 1 - Intellij Idea

Press the Del (or fn and delete) key to delete a project from the Recent Projects list.

Vote for this issue to make it more obvious and user friendly.

Solution 2 - Intellij Idea

close project first, or until this dialog appear, then hover your mouse on project you want to delete from history, then press Del main dialog

you'll be asked for confirmation

confirm

Solution 3 - Intellij Idea

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.

Solution 4 - Intellij Idea

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.

Solution 5 - Intellij Idea

You can also click File -> Open project ...

When a file menu appears, you can right click the unwanted project folder and select Delete.

Solution 6 - Intellij Idea

Just figured, I am using Idea Community edition 13.1.1 and the cleanest and easiest way is to go to File > Reopen project > Clear List. I just stumbled upon this menu today. I always thought that is just to clear the latest projects from the view inside the IDE and just realized it is clearing the projects from the main Dialog too.

-VRS

Solution 7 - Intellij Idea

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 .

Solution 8 - Intellij Idea

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.

Solution 9 - Intellij Idea

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.

Solution 10 - Intellij Idea

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionsheidaeiView Question on Stackoverflow
Solution 1 - Intellij IdeaCrazyCoderView Answer on Stackoverflow
Solution 2 - Intellij IdeaKokizzuView Answer on Stackoverflow
Solution 3 - Intellij IdeaCorinn ClarkView Answer on Stackoverflow
Solution 4 - Intellij IdeadvtoeverView Answer on Stackoverflow
Solution 5 - Intellij IdeafrankernView Answer on Stackoverflow
Solution 6 - Intellij IdeaVasan RamaniView Answer on Stackoverflow
Solution 7 - Intellij IdeaYevProView Answer on Stackoverflow
Solution 8 - Intellij IdeaTHX1137View Answer on Stackoverflow
Solution 9 - Intellij IdeadrumaddictView Answer on Stackoverflow
Solution 10 - Intellij IdeaDevOnixView Answer on Stackoverflow