This article introduces the steps of how IntelliJ IDEA completely deletes projects, share them with everyone, and leave a note for yourself by the way, as follows:
step1.
Use IDEA to open the project you want to delete, right-click on the project file and select Remove Module or press the Delete key
step2.
Then a delete prompt pops up, "Remove Module 'xxx' from the project? No files will be deleted."
It means to remove the specified module, but no file is deleted, that is, the module is removed and the file on the disk is still there
After clicking "OK", you can see that there are still some files in the list. These files are files outside the module, and the deleted above is only the module of the project.
step3.
You can right-click on the file and select Show in Explorer to quickly open the file on disk.
You can also manually find the location of the project on disk
After opening the disk directory, you can see that the project files are all there, and there are not many.
IDEA's deletion is logical deletion, and files on disk need to be deleted manually by themselves.
step4.
Before manually deleting files, select IDEA's File menu and select Close Project to close the project
Then IDEA's welcome homepage will appear. Place the mouse on the item that needs to be deleted. You can see a × delete button in the upper right corner. Click Delete.
step5.
Finally, manually delete the project file on the disk, and the project file can be completely deleted!
When manually deleting files on disk, pay more attention to prevent deleting files from being restored.
It was deleted in IDEA, and if you want it, you can open it again.
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.