Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodePolish — JavaScript & TypeScript CleanerNew to Visual Studio Code? Get it now.
CodePolish — JavaScript & TypeScript Cleaner

CodePolish — JavaScript & TypeScript Cleaner

Northern Gate

| (0) | Free
Clean JavaScript and TypeScript projects by removing comments, console statements, and unnecessary blank spaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodePolish

Clean your JavaScript and TypeScript projects by removing unwanted comments, console statements, and unnecessary blank spaces.

CodePolish scans your project first, shows what can be removed, and lets you choose exactly what you want to clean.

Features

  • 🔍 Scan your project before making changes
  • 💬 Remove comments
  • 🖥️ Remove console statements
  • ⬜ Remove unnecessary blank spaces
  • 🎯 Choose exactly what you want to remove
  • 📊 Review detected issues before cleaning
  • 🔄 Scan your project again whenever needed

Supported Files

CodePolish currently supports:

  • .js — JavaScript
  • .jsx — JavaScript JSX
  • .ts — TypeScript
  • .tsx — TypeScript JSX
  • .mjs — JavaScript modules
  • .cjs — CommonJS modules

How It Works

1. Scan Your Project

Open your project in VS Code and start a project scan.

CodePolish checks supported source files for removable content.

2. Review the Results

After scanning, CodePolish shows the detected:

  • Comments
  • Console statements
  • Unnecessary blank spaces

You can review the results before cleaning.

3. Choose What to Clean

Select the cleanup options you want.

You can remove only comments, only console statements, only blank spaces, or any combination of them.

4. Clean Your Project

Run the cleanup when you're ready.

CodePolish only performs the cleanup options you selected.

Excluded Folders

CodePolish does not scan common generated or dependency directories, including:

  • node_modules
  • .git
  • .next
  • dist
  • build
  • coverage
  • out

Requirements

  • Visual Studio Code 1.85.0 or later

Privacy

CodePolish is designed to process your project locally within VS Code.

Known Issues

This is the initial release of CodePolish. If you encounter an issue, please provide details about the file type and code involved.

Release Notes

0.0.1

Initial release of CodePolish.

  • Project scanning
  • Comment detection
  • Console statement detection
  • Blank-space detection
  • Selective cleanup

CodePolish — clean your code, your way.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft