I only found how to delete projects in older versions of IDEA but still don't see the button in my IDEA 14. Did the Jetbrains guys implement this feature or do I still have to delete my project folders manually in file explorer?
- what happens when you press the delete key, whilst your project is highlighted ?NimChimpsky– NimChimpsky2015-04-08 09:56:14 +00:00Commented Apr 8, 2015 at 9:56
- a popup asks me: "Remove Module 'Module Name' from the project? No files will be deleted" with "OK" and "Cancel" buttonsArthur Eirich– Arthur Eirich2015-04-08 10:44:59 +00:00Commented Apr 8, 2015 at 10:44
- 4well there ya go, if you want to delete files from your file system, you'll have to delete files "manually"NimChimpsky– NimChimpsky2015-04-08 10:48:59 +00:00Commented Apr 8, 2015 at 10:48
- 1But this feature has been proposed even in the time of version 12. Stil not implemented?Arthur Eirich– Arthur Eirich2015-04-08 11:38:17 +00:00Commented Apr 8, 2015 at 11:38
- I would be surprised if this was a very popular feature request. Most people like the current behaviourNimChimpsky– NimChimpsky2015-04-08 11:52:09 +00:00Commented Apr 8, 2015 at 11:52
6 Answers
1. Choose project, right click, in context menu, choose Show in Explorer (on Mac, select Reveal in Finder).

2. Choose menu File \ Close Project

3. In Windows Explorer, press Del or Shift+Del for permanent delete.
4. At IntelliJ IDEA startup windows, hover cursor on old project name (what has been deleted) press Del for delelte.

6 Comments
recent projects list erases all its traces from the metafiles in the IntelliJ user configuration folder? I doubt it....idea folder.Deleting and Recreating a project with same name is tricky. If you try to follow above suggested steps and try to create a project with same name as the one you just deleted, you will run into error like
'C:/xxxxxx/pom.xml' already exists in VFS
Here is what I found would work.
- Remove module
- File -> Invalidate Cache (at this point the Intelli IDEA wants to restart)
- Close project
- Delete the folder form system explorer.
- Now you can create a project with same name as before.
I am doing it manually in Intellij IDEA v2021.3.1, Ubuntu 20.04.
Steps:
- cd ~/IdeaProjects
- rm -fr ProjectDir
1 Comment
.iml file as well as the whole subdirectory .idea but when I reopened intellij in the project directory it complained that there is this module already. Only after I went through the procedure above (except for the `rm -rf), I could re-open and re-configure the project.In my strange case, Intellij remembers forever about my project even if I delete .iml... Thus I did the following:
- Close project. Delete the
.imlfile. - Rename my project directory (say
my_proj) tomy_proj_backup. - (Possibly not needed) Open
my_proj_backupin Intellij and close. - Create an empty directory called
my_proj, and open it in Intellij. Then close it. - Remove the
my_projand movemy_proj_backupback tomy_proj. Then openmy_projin Intellij.
Then it happily forgot the old my_proj :)
