I was working on my new product where I needed to use the same name for about 100s of files across different folders.
Removing the content manually after copying the folders was tedious.
So, I created a VS Code extension. It allows you to right-click and delete file content from both the open file and the file tree.
I am still working on allowing to delete the content in bulk, by selecting various files on the file tree, but it does not want to work...
You can grab it here — https://michaelandreuzza.com/vscode/delete-on-right-click/
Delete Content for VS Code
This extension allows to right click inside any file or on the file tree and delete the content but not the file itself.
Official website
Installation
- Open Extensions sidebar panel in VS Code.
View → Extensions
- Search for
Delete Content on right click
- Click Install to install it.
Known issues — There seems to be a problem preventing the bulk deletion of content when multiple items are selected. Instead, it only deletes the content of one file."
Top comments (0)