How to delete projects in IntelliJ 12?

Solution 1:

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:

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:

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:

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.