Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode_consoleNew to Visual Studio Code? Get it now.
vscode_console

vscode_console

yanmiao

|
61 installs
| (2) | Free
快速创建一个 console.log 输出
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

插件作用

快速生成 console.log

使用方法

在 JavaScript 文件中使用 变量.log 然后按下快捷键即可生成

console.log('test=========>', test);

⌨️ 快捷键

  • mac : cmd + enter
  • windows : alt + enter
let test = 123;

// test.log  按下 cmd + enter

console.log('test=========>', test);

// 123.log

console.log('123=========>', '123');

注意点

需要在 .log 后面按下快捷键

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