Skip to content

Last Column Line Is Not Line-Broken #416

@xterao

Description

@xterao

Describe the bug
When a column appears after a conditional loop directive, it is unexpectedly not line-broken. This causes the final column to be formatted incorrectly.

The column number.x following the conditional directive is not placed on a new line, leading to inconsistent formatting.

Example (current behavior):

SELECT id
       , name.path
       , /*%if parent*/
         number1.d
          ,
         /*%else*/
         number2.e
          ,
         /*%end*/         number.x

Expected behavior
The last column should always be line-broken properly, even if it follows a conditional loop directive.

Desktop :

  • IDEA Version : 2024.3.6
  • Doma Tools Version : 2.1.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions