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.
-
duplicate of http://stackoverflow.com/questions/14486326/new-to-intellij-idea-12-0-2-how-do-i-delete-projects/14486534#14486534 – Robert H Jan 28 '13 at 20:44
-
9It is not duplicate, as I am only asking about deleting the project. The reference used in the one you linked is asking about intellij 10.5 where I am asking about intellij 12.0. – sheidaei Jan 28 '13 at 20:52
10 Answers
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.

- 389,263
- 172
- 990
- 904
-
3I am using Mac to code, I tried delete key but it didn't have any effect on the list. – sheidaei Jan 28 '13 at 21:09
-
1Tested on Mac with IDEA 12.0.2 and `Mac OS X` / `Mac OS X 10.5+` keymaps, [both work fine](http://dl.dropbox.com/u/2752840/Screenshots/4yx_fb3hgqpf.png) with `Delete` key. – CrazyCoder Jan 28 '13 at 21:33
-
10
-
14For anyone who comes across this later (like me), note that you have to have focus on the IJ12 Recent Projects list (at least, in the window that opens if you have no project open). Clicking a project will focus the list, but also opens the project, which isn't useful for deleting it. I found you can use Tab to bring the list into focus. – ajp15243 Feb 19 '13 at 19:36
-
For this Mac user, the Forward-Delete key works but not the common Delete key. – Basil Bourque May 31 '13 at 19:58
-
13
-
I just tried this and found that neither `delete` nor `fn` + `delete` works, but the forward-delete key (that isn't on my laptop's keyboard) does the trick. – ucarion Nov 29 '13 at 08:49
-
Where is the delete key in mac anyway? For me FN + Backspace worked. – Koray Tugay Jul 01 '14 at 08:11
-
Amusingly, I just accidentally discovered that Backspace works on Ubuntu too. On OSX, isn't Backspace the same as the Delete key for the rest of the world? I'm surprised you'd need to use an Fn key combo... – Lambart Jan 08 '15 at 00:05
-
Thank you @ajp15243 I couldn't get it to delete either, I tabbed to the project as you suggested and it worked, what happened to just having the x button next to the project? – alsobubbly Jun 30 '15 at 08:56
-
@alsobubbly I could swear I had an X at the top-right of each project in IntelliJ 14. I just updated yesterday to 14.1.4, and I don't see it. :/ – ajp15243 Jun 30 '15 at 13:26
-
2Using delete can remove the project appearing on the project list, but the actually project files are still in the project directory. I have to rm -r to delete the project directory. – sunraincyq Jul 03 '15 at 21:22
close project first, or until this dialog appear, then hover your mouse on project you want to delete from history, then press Del
you'll be asked for confirmation

- 24,974
- 37
- 137
- 233
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.

- 8,370
- 15
- 50
- 83

- 91
- 1
- 4
-
1Given that creating a project with the same name is not rare in practice, this is so frustrating. PS: I'm using android studio which is based on it, this problem exist too. – realjin Aug 02 '14 at 03:50
-
Did any one find solution ? As after deleting project as described in most voted solution, entries of it still persists at the paths given above which really causes problems, when you will create project with same name. – Ankit Aug 19 '14 at 14:25
-
-
The "tidbits" are stored in the following location on a Mac: ~/Library/Caches/IntellijIdea
/compiler ~/Library/Caches/IntellijIdea – Corinn Clark Feb 13 '17 at 17:00/frameworkds/detection ~/Library/Caches/IntellijIdea /conversion ~/Library/Caches/IntellijIdea /compile-server
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.

- 3,896
- 1
- 28
- 29
You can also click File -> Open project ...
When a file menu appears, you can right click the unwanted project folder and select Delete.

- 103
- 9
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

- 302
- 2
- 5
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 .

- 21
- 1
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.

- 903
- 6
- 15
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.

- 121
- 2
- 7
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.

- 21
- 7