Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code SweepNew to Visual Studio Code? Get it now.
Code Sweep

Code Sweep

chrisreylo

|
476 installs
| (0) | Free
It gives you the ability to clear comments, console.logs and blank spaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CODE SWEEP

Description

This is a simple VS-Code extension that allows users to quickly DELETE comments, empty lines, print statements, and console logs of a selected area or entire file.

How to Use

  1. Highlight text in a file to preform only on the selected text or do nothing and have it preform on the whole file.

  2. Open Command Pallet: (ctl + shift + p)

  3. Type in Code Sweep and select the command you want to happen

  4. Watch it preform the action!

Supported Languages

Comments

  Javascript, Java, Python, C++, C, C#, Swift, Php, Rust, Go, Lua, Dart, Kotlin, Typescript,  Scala, Css, Html, Xml, Xhtml, Xslt

Empty Lines

  All languages

Print Statements

  Java and Python

Console Logs

  JavaScript and TypeScript
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft