sql-formatter
sql-formatter copied to clipboard
Preserve line-comment positions
Bring back precedingWhitespace field to preserve positions of line comments.
- When comment was originally at the end of a line, keep it on the line end
- When comment was originally on a separate line, keep it on separate line
Fixes #365