Overview
Features
Settings
Use semicolon
The addSemicolonInTheEnd setting allows you to control whether Turbo Console Log appends a semicolon at the end of the inserted log message. This feature helps to adhere to your personal coding style or your project's style guide.
Usage
To modify the Use Semicolon setting:
Go to the VS Code settings: File → Preferences → Settings (or Code → Preferences → Settings on Mac). Search for "Turbo Console Log" and locate the addSemicolonInTheEnd setting. Switch the toggle to your desired state.
In your code:
After setting the semicolon usage, when you use the Turbo Console Log key command, the log statement inserted into your code will reflect this setting. For example, if the semicolon setting is enabled, the inserted log message would look something like this:
console.log('🚀 ~ SelectedVariable:', SelectedVariable);
By customizing the addSemicolonInTheEnd setting, you can ensure that the log messages generated by Turbo Console Log conform to your coding conventions. The default for this setting is true, meaning that a semicolon will be appended at the end of the log message.