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

Console Log

Luis Gonzalez

|
21,230 installs
| (7) | Free
Create console.log lines faster
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

logo

Version Version apm

Console.log - VSCode

This extension helps you to generate console.log lines with the selected text in the editor, very useful for every javascript developer (now with support for Dart and Go).

Features

Console.log

English Spanish

running the command Console.log will generate a console.log sentence in the line above, taking care of identation. you can use also the keybinding [ alt + - ] or [ alt + / ] in Windows, Linux and MacOSX

Supported languages:

Supported languages

Console log after (default):

Example outputs:

javascript / typescript / vue / svelte

let enabled = true;
// press [ ⌥ + - ] or [ ⌥ + / ] selecting 'enabled' will produce ↓↓↓
console.log("enabled :", enabled);

dart

bool enabled = true;
// press [ ⌥ + - ] or [ ⌥ + / ] selecting 'enabled' will produce ↓↓↓
debugPrint("${enabled}}", wrapWidth: 1024);

go

enabled := true;
// press [ ⌥ + - ] or [ ⌥ + / ] selecting 'enabled' will produce ↓↓↓
fmt.Printf("enabled: %#v", enabled);

Console log before:

If you want your log in the line before and not after, just add shift:

javascript / typescript / vue / svelte

console.log("enabled :", enabled);
// press [ ⌥ + - + ⇧ ] or [ ⌥ + / + ⇧ ] selecting 'enabled' will produce ↑↑↑
let enabled = true;

Release Notes

0.0.8

Support for Dart(print) and Go(fmt.Println)

0.0.1

Initial release.


Zoidberg

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