Sunday, July 23, 2023

VS Code tool: Turbo Console Log

 Turbo Console Log - Visual Studio Marketplace

"Automating the process of writing meaningful log messages."

alt text

Insert meaningful log message automatically

  • Selecting or hovering the variable which is the subject of the debugging (Manual selection will always take over the hover selection)

  • Pressing ctrl + alt + L (Windows) or ctrl + option + L (Mac)

The log message will be inserted in the next line relative to the selected variable like this:

console.log("SelectedVariableEnclosingClassName -> SelectedVariableEnclosingFunctionName -> SelectedVariable", SelectedVariable)

No comments: