Is it possible to remove a file from an Eclipse project without actually deleting the file from the disk?
Is there a reason why adding/removing files to/from a project is so tightly connected with what happens to the corresponding files on the disk?
To delete a project, right-click on the project in the Package Explorer. Again, select “Delete” from the context menu. To delete your project select the option “Also delete contents under…” and select “Yes.”
- [Voiceover] When we first installed Eclipse, and we launched it for the first time, do you remember the prompt that it asked you where you wanted to store your files? It automatically defaults to the C drive, to users, your username, and it creates a folder called Workspace. That's where your files are located.
Select all files in the Search view with Ctrl-A. Right-click the selected files and choose Show In > Navigator from the popup menu. All matched files are now selected in the Navigator view. Right-click one of the selected files in the Navigator, and choose Delete.
You can remove the workspace from the suggested workspaces by going into the General/Startup and Shutdown/Workspaces section of the preferences (via Preferences > General > Startup & Shudown > Workspaces > [Remove] ).
You can filter out file system resources you don't want Eclipse to see. To do that, right click on the folder, go into Properties and then under Resource -> Resource Filters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With