Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Chakroun Anas Chakroun Anas
Chakroun Anas and Chakroun Anas logMessageLine: function call declaration bug fixed
Latest commit d704dda May 27, 2019

README.md

Main Functionality


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

Features


I) Insert meaningful log message automatically

Two steps:

  • Selecting the variable which is the subject of the debugging

  • Pressing ctrl + alt + L

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

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

alt text

Properties:

  • turboConsoleLog.wrapLogMessage (boolean): Whether to wrap the log message or not.

  • turboConsoleLog.logMessagePrefix (string): The prefix of the log message, default one is TCL.

  • turboConsoleLog.addSemicolonInTheEnd (boolean): Whether to put a semicolon in the end of the log message or not.

  • turboConsoleLog.quote (enum): Double quotes (""), single quotes ('') or backtick(``).

A wrapped log message :

alt text

II) Comment all log messages, inserted by the extension, from the current document

All it takes to comment all log messages, inserted by the extension, from the current document is to press alt + shift + c

alt text

III) Uncomment all log messages, inserted by the extension, from the current document

All it takes to uncomment all log messages, inserted by the extension, from the current document is to press alt + shift + u

alt text

IV) Delete all log messages, inserted by the extension, from the current document

All it takes to delete all log messages, inserted by the extension, from the current document is to press alt + shift + d

alt text

Release Notes


1.0.0

Initial release of Turbo Console Log

1.1.0

  • New feature: The possibility of wrapping the log message is added

1.2.0

  • New feature: Comment all log messages inserted by the extension
  • New feature: Uncomment all log messages inserted by the extension
  • When requested, only the log messages inserted by the extension will be commented, uncommented or deleted

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!

You can’t perform that action at this time.