Skip to content

Consider changing the default behavior or adding an option to keep the object name on the same line as the DDL statement prefix #140

Open

Description

@Huliiiiii

Placing the object name on the next line is inherited from sql-formatter-plus, but keeping it on the same line is more common:

CREATE TABLE name
ALTER TABLE name

The max_inline_top_level option has a much broader impact than needed here.

We could either change the default behavior or add an option that keeps the object name on the same line as the DDL statement prefix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestkilo-auto-fixAuto-generated label by Kilokilo-triagedAuto-generated label by Kilo

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions