DEV Community

Michael Andreuzza
Michael Andreuzza

Posted on

2

I made a VS Code extension to delete files content on right click

image

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/

banner

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

  1. Open Extensions sidebar panel in VS Code. View → Extensions
  2. Search for Delete Content on right click
  3. 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."

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →