Turbo Console Log

2,070,047 installs

(98)

JavaScript Logo
TypeScript Logo
PHP Logo
Python Logo
Rocket Image

Automating the process of writing meaningful log messages.

Turbo Console Log Logo

Extension of the week by official Visual Studio Code YouTube channel 06-08-2023

v3.30.0: Logs Indented Like Your Code.

Turbo Console Log insertion engine, indenting like your code in v3.30.0
The insertion engine, indenting like your code in v3.30.0

v3.29.0 made log placement more accurate. v3.30.0 does the same for indentation. We ran more than 25,000 insertions in real, correctly formatted code. Python came out clean, and in JavaScript, TypeScript and PHP we fixed the three situations where a log got the wrong indent: a value selected inside a multi-line statement, an empty block, and code Turbo rewrites around a log. Every fix is free for everyone. Turbo Pro funds this work and adds what comes after insertion: a workspace-wide log tree, instant search, filtering, manual cleanup, and auto-cleanup on commit. One-time payment, lifetime access.

"This is one of the best extensions I've installed in VS Code. Managing my console logs makes it so easy for me to make sure I don't leave logging unnecessarily active in my code."

β€” Kristian Serrano

"I just can't live without this extension. The setup is super easy and flexible and the shortcut makes it super handy. The Pro Plan is super worthy for someone who uses it on a daily basis, since it unblocks organizing features you'll find yourself wanting during development."

Caio Lemos

"I had this extension installed for far too long before realising its full potential. Having upgraded to Pro, you get a ton more additional, helpful settings and views to help you navigate your console statements."

Rob Kendal

"Just a perfect tool! That's it, nothing to add."

Maciej Guzek

Core Features

Insert log message

Mac: cmd + k, cmd + l | Windows: ctrl + k, ctrl + l

Comment log message

Mac: shift + option + c | Windows: shift + alt + c

Uncomment log message

Mac: shift + option + u | Windows: shift + alt + u

Delete log message

Mac: shift + option + d | Windows: shift + alt + d

Correct log message

Mac: shift + option + x | Windows: shift + alt + x

Settings

  • Log message prefix

    default πŸš€

  • Log message suffix

    default :

  • Log message quote

    default ""

  • Log type

    default log

  • Log function

    default console.log

  • Delimiter

    default ~

  • Add semicolon

    default true

  • Insert class

    default false

  • Insert function

    default false

  • File name

    default true

  • line number

    default true

  • Wrap log message

    default false

  • Empty line around

    default false