Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>js quick logNew to Visual Studio Code? Get it now.
js quick log

js quick log

参禅不说话

|
2 installs
| (0) | Free
Help insert and remove console.(*) statements. (based on a fork of javascript console utils)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

js-quick-log

Easily insert and remove console.log statements in VS Code.

Usage

With selection:

  • Highlight a variable (or really any text)
  • Press Cmd+Shift+L
  • The output (on a new line) will be: console.log('variable: ', variable);
  • Press Cmd+Shift+Alt+L
  • The output (on a new line) will be: console.log('variable: ', JSON.parse(JSON.stringify(variable)));

Without selection:

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

To remove console.logs:

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

License

MIT License

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