SQL Formatter Options

Colors

The Colors Settings in the SQL Formatter Tool allow you to customize the color scheme for different elements in your SQL code. This makes it easier to read, understand, and distinguish between various components in your formatted SQL.

Sql Formatter Options Color
Available Color Options
  1. Standard
    The default color scheme used for general SQL tokens. Reset to this option if you want to return to the tool’s default settings.

  2. Master Keywords
    Assign a specific color to SQL keywords that define the structure or flow of your queries, such as SELECT, INSERT, or UPDATE.

  3. Structure Keywords
    Define colors for keywords that describe the organization of your SQL code, such as FROM, WHERE, GROUP BY, etc..

  4. Block Comments
    Set a color for multi-line comments in your SQL code (e.g., /* Comment block */). This helps in distinguishing comments from executable code.

  5. Line Comments
    Choose a color for single-line comments that start with -- or #. Clear color differentiation can help identify commentary lines easily.

  6. Literals
    Customize the color for string literals (e.g., 'text', "value") . This improves the visibility of constants in your queries.

  7. Case Keywords
    Assign a specific color to keywords used in CASE statements, such as CASE, WHEN, and THEN. This can make conditional logic easier to read.

  8. Keywords
    Configure the color for all remaining SQL keywords that do not fall into the above categories. These might include logical operators (AND, OR).