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

Custom delimiter

The delimiterInsideMessage setting offers you the flexibility to choose a custom delimiter that separates different elements within the log message, like the filename, line number, class, function, and variable.


Usage

  1. To modify the Custom Delimiter setting:

    Navigate to VS Code settings: File → Preferences → Settings (or Code → Preferences → Settings on Mac). Search for "Turbo Console Log" and locate the delimiterInsideMessage setting. Enter the character(s) you'd like to use as a delimiter into the input field.


  2. In your code:

    Once you've defined the delimiter, it will be used in the inserted log messages. For example, if you've set the delimiter to " - ", the log message would appear as follows:

console.log('🚀 - SelectedVariable:', SelectedVariable);

The delimiterInsideMessage setting is a powerful tool that allows you to customize the log messages to suit your coding style or the project's conventions. Remember, if no delimiter is provided, the default one is '~'.


Delimiter Behavior: Similar to the prefix, the delimiter (the ~ symbol in the example above) also has guaranteed default behavior. If the delimiter setting is left empty or omitted, Turbo automatically defaults to the tilde (~) to ensure proper log detection and parsing for all extension operations.