VSCode Rimraf allows you to permanently delete files and folders (similarly to rm -rf
or npx rimraf
in the terminal) directly
from the Visual Studio Code GUI.
Install the extension from the VS Marketplace or by typing this in the Command Palette:
ext install luisferlcc.vscode-rimraf
Next, you will see a dialog box warning you that enabling the extension will empty the trash.
Make sure to restore any important files in the trash, and then click Enable. VSCode Rimraf is now set up.
While VSCode Rimraf is enabled, deleting files from the VSCode GUI will delete them permanently instead of moving them to the trash.
vscode-rimraf.toggle
VSCode Rimraf: Toggle extension Toggles (enables or disables) the extension. It is reset when opening a new window.vscode-rimraf.empty-trash
VSCode Rimraf: Empty the trash Empties the trash.vscode-rimraf.save-logs
VSCode Rimraf: Save debug log file After execution, the extension will automatically save the logs generated in the output channel.
Need help using VSCode Rimraf? Don't hesitate to reach out on GitHub Discussions!
Before creating an issue, please consider the following:
- Make sure the issue hasn't already been reported or suggested.
- After following these steps, you can file an issue using one of our templates. Please make sure to follow our Code of Conduct.
- If you wish to submit a pull request alongside your issue, please follow our contribution guidelines.