Skip to content

Document how SQL formatters should preserve literal spelling - #348

Merged
git-hulk merged 1 commit into
AfterShip:masterfrom
git-hulk:improvement/preserve-literal-spelling
Nov 20, 2026
Merged

git-hulk merged 1 commit into
AfterShip:masterfrom
git-hulk:improvement/preserve-literal-spelling

Conversation

@git-hulk

Copy link
Copy Markdown
Member

Rewriting a heredoc as a quoted string can preserve its value while
losing the delimiter the author chose. Adding indentation inside a
multiline literal can also change its value.

Ask both formatter modes to preserve the literal as written, including
its delimiters, escape sequences, and whitespace.

Assistant-By gpt-6.2-astra

Rewriting a heredoc as a quoted string can preserve its value while
losing the delimiter the author chose. Adding indentation inside a
multiline literal can also change its value.

Ask both formatter modes to preserve the literal as written, including
its delimiters, escape sequences, and whitespace.

Assistant-By gpt-6.2-astra
@git-hulk
git-hulk merged commit 137283e into AfterShip:master Nov 20, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant