Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Clean ConsoleNew to Visual Studio Code? Get it now.
Clean Console

Clean Console

Socram94

|
1,320 installs
| (3) | Free
Clean console is a little tool used to clean the console output by delete log command in your current code file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Features

This extension is used to delete all logs line in a single file. You can launch this extension on all files you want to clean.

The extension doesn't have a default shortcut but you can easily put your own.

There is an example bellow with a TypeScript file and a C file (The popup has been deleted for better experience) :

How it works

Requirements

No specific requierement for this extension

Known Issues

Regex can have some problems, you can add an issue or submit a pull request to correct it.

Release Notes

1.2.2

New language added (Solidity)

1.1.2

Some fixed issues

1.1.1

New feature : You can now count the number of log line in your current file ! You can easily test it with running clean console list command.

The code have been refactored :

  • lib.js contain all functions to run the extension
  • extension contain the main function of the programm
  • config.js contain actual handle languages

1.0.1

Bug fix

1.0.0

This is the first release of the extension, you can use it without moderation

Install

You can download the extension on the marketplace :

How it works

If you want to modify or just run the extension locally, you first need to :

Get the project

git clone https://github.com/Socram94/cleanConsole.git

Go in clean console folder :

cd cleanConsole/

Install package :

npm i

You can now modify the extension as you wish, you can press (F5) to run the debugger editor

Information

If your favorite language isn't currently supported, you can submit a pull request to add it to the list !

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