Skip to content

Permanently delete files and folders (like `npx rimraf` or `rm -rf`) directly from the VSCode GUI.

License

Notifications You must be signed in to change notification settings

LuisFerLCC/vscode-rimraf

VSCode Rimraf

VSCode marketplace latest version VS Marketplace installs Open VSX Contributor Covenant Code of Conduct

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.

Get started

Installation

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.

Trash warning

Make sure to restore any important files in the trash, and then click Enable. VSCode Rimraf is now set up.

Usage

While VSCode Rimraf is enabled, deleting files from the VSCode GUI will delete them permanently instead of moving them to the trash.

Extension usage

Commands

  • 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.

Support

Need help using VSCode Rimraf? Don't hesitate to reach out on GitHub Discussions!

Links

Contributing

Before creating an issue, please consider the following: