Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-js-console-utils-extendNew to Visual Studio Code? Get it now.
vscode-js-console-utils-extend

vscode-js-console-utils-extend

moqi

|
38 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 改为彩色

配置 说明 默认值
console-utils.quote Double quotes (""), single quotes ('') "
console-utils.showText Insert console with text true
console-utils.showLineNumber Insert line number true
console-utils.icons The prefix of the log icon. 🍏,🍎,🍐,🍊,🍋,🍌,🍉,🍇,🍓,🍒,🍑,🥥,🥝,🍅,🍆,🥑,🥒,🌶,🌽,🥕,🥔,🥐,🍞,🥖,🧀,🥚,🥓,🍖,🌭,🍔,🍕,🥪,🌮,🍣,🥟,🍤,🍢,🍡,🍧,🍰,🎂,🍭,🍬,🍫,🍿,🍩,🍪,🌰,🍯,🥛,🥤,🍺,🍻,🍷,🥃
console-utils.fontColors The prefix of the log font color. #42b983,#33a5ff,#b03734,#2eafb0,#6ec1c2,#ed9ec7,#fca650,#3f7cff,#93c0a4,#ea7e5c,#f5ce50,#465975,#ffdd4d,#7f2b82,#4fff4B,#e41a6a
console-utils.backgroundColors The prefix of the log background color.
console-utils.fontSize The font size of the log. 14
console-utils.logType Select the log type log

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
  • The output (on a new line) will be: console.log('variable: ', variable);

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

License

MIT License

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