This extension make debugging much easier by automating the operation of writing meaningful log message.
I) Inserting meaningful log message automatically
Two steps:
-
Selecting the variable which is the subject of the debugging
-
Pressing Ctrl + alt + l in windows/linux Or Cmd + alt + l on a MAC
The log message will be inserted in the next line relative to the selected variable like this:
console.log('SelectedVariableEnclosingClassName -> SelectVariableEnclosingFunctionName -> SelectedVariable', SelectedVariable)
The log message can be wrapped by changing the value of wrapLogMessage to true in settings.json
II) Deleting all log messages from the current document
All it takes to delete the log messages from the current document is to press Ctrl + d in windows/linux or Cmd + d on a MAC
Initial release of Turbo Console Log
The possibility of wrapping the log message is added
You're more than welcome to participate in the development of the extension by creating pull requests and submitting issues, link of the project in github: https://github.com/Chakroun-Anas/turbo-console-log
You can contact me on the following mail: chakroun.anas@outlook.com
MIT © Chakroun Anas
Buying me a coffe will definitely help me to keep working in this project and other open source projects <3
Enjoy!