Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Folder RemoverNew to Visual Studio Code? Get it now.
Auto Folder Remover

Auto Folder Remover

SAZ

|
17 installs
| (1) | Free
Automatically remove unnecessary folders (node_modules, dist, build, ...) from VS Code projects after vscode is closed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Folder Remover

Introduction

This extension helps you automatically clean your workspaces by removing unnecessary folders such as node_modules, dist, build, etc..., as soon as vscode is closed.

It is designed to keep your laptop storage disk light by removing unnecessary folders after vscode is closed.


Videos Showing How To Use This Extension

Watch: Tutorial on how to install it here

Watch: Tutorial on how to use it here

Extension Settings

You can configure this extension by modifing its settings. This settings are:

  • folderremover.foldersToTrack: Array containing folder(s) to track and auto delete each time a vscode project is closed. By default its:
      [
        "node_modules",
        "dist",
        ".next"
      ]
    
    You can add any folder name like: .venv, venv, lib, packages, .gradle, vendor, ...; then the extension will consider them and delete them each time you close a project.

Want To Contribute Or Repport A Bug

  • Report bugs by opening an issue here.

  • Suggest features or improvements the same way.

    Want to contribute? Fork the repo and submit a PR — clear commits and concise messages appreciated!

    Check the Contribution Guide Here.


How To Support Me

Love this extension? Help it grow by showing your support!

Star on GitHub Rate on Marketplace


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension. Extension Guidelines

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft