Skip to content

Feature Request: Option to Configure Indentation for SQL JOIN Clauses #716

Open
@ko-ya346

Description

@ko-ya346

I would like to propose a feature that allows users to configure the indentation for SQL JOIN clauses through an option.
This feature would enable more flexibility in formatting SQL queries to match different coding styles and preferences.

Specifically, I'm looking for the ability to format JOIN clauses like the following example:

SELECT
    logs.*,
    master.status
FROM
    logs
LEFT OUTER JOIN
    master
ON
    logs.id = master.id

This formatting style increases readability by clearly separating each part of the JOIN clause with consistent indentation.
It would be great to have an option in the SQL Formatter that allows us to achieve this level of clarity in our SQL code.

Thank you for considering this feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions