Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete projects in Intellij IDEA 14?

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?

like image 571
Arthur Eirich Avatar asked Apr 08 '15 09:04

Arthur Eirich


People also ask

How do I delete files in IntelliJ?

Select an item you want to delete. Select Refactor | Safe Delete from the main or context menu or press Alt+Delete .

How do I delete a repository in IntelliJ?

Delete a RepositoryNavigate to the project and open the repository. The Repository Settings page will open. Scroll down the Repository Settings page and click Delete repository.


2 Answers

1. Choose project, right click, in context menu, choose Show in Explorer (on Mac, select Reveal in Finder).

enter image description here

2. Choose menu File \ Close Project

enter image description here

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.

enter image description here

like image 78
Do Nhu Vy Avatar answered Oct 15 '22 04:10

Do Nhu Vy


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.

  1. Remove module
  2. File -> Invalidate Cache (at this point the Intelli IDEA wants to restart)
  3. Close project
  4. Delete the folder form system explorer.
  5. Now you can create a project with same name as before.
like image 24
Ashburn RK Avatar answered Oct 15 '22 05:10

Ashburn RK