Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>javascript console plusNew to Visual Studio Code? Get it now.
javascript console plus

javascript console plus

BIUBIU UP

|
135 installs
| (0) | Free
Help insert and remove console.(*) statements
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-js-console-utils

Secondary development based on @whtouche project

Video_20230711_093230_316.gif

Installing

This extension is available for free in the [Visual Studio Code Marketplace]

Usage

With selection:

  • Highlight a variable (or really any text)

  • Press Cmd+Shift+L or Ctrl+Shift+L

  • The output (on a new line) will be:

  • console.log(  `%c *variable* ` ,'background: #3b8eea; line-height: 22px;border-radius:4px;font-weight: 600',variable);
    
  • image-20230711214133309

Without selection:

  • Press Cmd+Shift+L
  • The output (on the same line) will be: console.log();

To remove console.logs:

  • Press Cmd+Shift+D
  • This will delete all console.log statements in the current document

Config output template:

image-20230711213727444

License

MIT License

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