Skip to content

Remove Trailing Spaces at the End of Formatted SQL #332

@xterao

Description

@xterao

Currently, the PostProcessor adds a space followed by a blank line at the end of the file after SQL formatting.

This update modifies that behavior as a specification change:

  • No half-width space will be inserted before the final blank line.

This ensures cleaner output and prevents unnecessary trailing whitespace in formatted SQL files.

https://github.com/domaframework/doma-tools-for-intellij/blob/main/src/main/kotlin/org/domaframework/doma/intellij/formatter/SqlPostProcessor.kt#L47

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions