Skip to content

Conversation

@xterao
Copy link
Collaborator

@xterao xterao commented Jul 25, 2025

Define clear spacing rules to ensure that within directive blocks, the space between the block's opening element and the next element is always exactly 1 space.

Fix Implemented

  • Resolved an issue where, if a directive block is preceded by a line break, the number of spaces inside the block could unintentionally increase during formatting.
  • Now enforces consistent spacing regardless of whether the directive block is inline or line-broken.

@xterao xterao self-assigned this Jul 25, 2025
@github-actions github-actions bot added the fix Bug fixes label Jul 25, 2025
@xterao xterao force-pushed the fix/sql-format-space-adjustment-within-directive branch from 9251d08 to 148e2bd Compare July 25, 2025 10:09
@xterao xterao changed the base branch from main to feature/sql-format-official-version July 25, 2025 10:09
@xterao xterao linked an issue Jul 25, 2025 that may be closed by this pull request
@xterao xterao merged commit 4eff532 into feature/sql-format-official-version Jul 25, 2025
5 checks passed
@xterao xterao deleted the fix/sql-format-space-adjustment-within-directive branch July 25, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Formatter] Space Adjustment Within Directive Blocks

2 participants