Removing files from a project can be done by:
- pressing the Fn+Del button when an item is selected in the Solution Explorer,
- the action Remove from the context menu in the Solution Explorer,
- via the Main menu:
Edit ⇒ Remove.
NB: If Salesforce would deny a file deletion (due to errors or any other reason), the file won’t be deleted from the project and the file system.
You also are able to delete a folder. This action is available from the context menu of the folder and by the Fn+Del button. You need to confirm this action.
NB: Please note, the folder that you want to delete should be empty. If it contains any files, this action won't be available. You need to move your files to another folder or delete them first.
In this section:
This also may be useful: