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.29.0: 14 Placement Fixes. Every Log on the Right Line.

Turbo Console Log insertion engine, hardened in v3.29.0
The insertion engine, hardened in v3.29.0

Turbo puts the logs in, Turbo Pro takes them out, and v3.29.0 makes the first half exact. We probed the insertion engine against more than 700 real-world snippets and fixed 14 patterns where a log landed on the wrong line: inside an object literal, after a return, before the value it was meant to show, or outside the block where the variable exists. Every fix is free for everyone. Turbo Pro funds this work and adds what comes after insertion: auto-cleanup on commit, a workspace-wide log tree, instant search, filtering, and bulk cleanup. 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