Skip to content

Huachao/turbo-console-log

 
 

Repository files navigation

Main Functionality


This extension make debugging much easier by automating the operation of writing meaningful log message.

Features


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)

alt text

The log message can be wrapped by changing the value of wrapLogMessage to true in settings.json

alt text

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

alt text

Release Notes


1.0.0

Initial release of Turbo Console Log

1.1.0

The possibility of wrapping the log message is added

Participate


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

Contact


You can contact me on the following mail: chakroun.anas@outlook.com

License


MIT © Chakroun Anas


Buying me a coffe will definitely help me to keep working in this project and other open source projects <3

paypal

Enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%