Overview

Motivation

Statistics

Features

Insert a log message

Comment inserted log messages

Uncomment log messages

Delete log messages

Correct log messages

Settings

Custom Prefix

Custom Suffix

Log Function Type

Log Function Name

Custom delimiter

Custom quote

Use semicolon

Enclosing class

Enclosing function

Include file name and line number

Include file name

Include line num

Wrap log message

Line before log message

Line after log message

Join the Turbo Tribe

30% Off

Subscribe to our newsletter to receive the latest updates, contribute to Turbo's future through surveys, and get an automatic 30% discount on Turbo Pro!

Get Latest Updates

Shape Turbo's Future

30% Off Turbo Pro

Get 30% off • Shape the future • Zero spam

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

  1. 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.


  2. 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.