Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quickly LogNew to Visual Studio Code? Get it now.
Quickly Log

Quickly Log

Richard Zhang

|
1,130 installs
| (1) | Free
A quickly generate console.log extension in vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quickly Log

A quickly generate console.log extension in vscode

Visual Studio Marketplace Version

Usage

Quickly generate console.log

  • Move the cursor near in variable.
  • Press Cmd + Shift + L (Mac) or Ctrl + Shift + L (Windows).
  • Next line will be:
    console.log('variable:', variable)

Quick clear all console.log

  • Press Cmd + Shift + K (Mac) or Ctrl + Shift + K (Windows).

Quick toggle all console.log's state of comment

  • Press Cmd + Shift + J (Mac) or Ctrl + Shift + J (Windows).

Configuration

Property Description Default
consoleVariablesName Whether to output variable name true
consoleLineNumber Whether to output line number false
consoleFilename Whether to output filename false
consoleColon Whether to output colon at the end true

Example:

console.log('Variables at line 17 in Components/Card.tsx:', Variables)

You can go to the Settings page and change the configuration to your preferences

✨ Happy hacking!

License

MIT License © 2022 Richard Zhang

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