Skip to content

feat: add sql formatter#79

Merged
sxwebdev merged 4 commits intomasterfrom
feat-add-sql-formatter
Mar 20, 2026
Merged

feat: add sql formatter#79
sxwebdev merged 4 commits intomasterfrom
feat-add-sql-formatter

Conversation

@sxwebdev
Copy link
Copy Markdown
Contributor

No description provided.

- Updated various formatters to use short variable declarations for better visibility.
- Replaced `fmt.Println(fmt.Sprintf(...))` with `fmt.Printf(...)` for cleaner output in test cases.
- Enhanced the handling of whitespace and newlines in formatting functions for SQL statements.
- Improved error handling in the FormatFile function to retain original statements when formatting fails.
- Cleaned up unnecessary line breaks and comments in the lexer and parser code.
@sxwebdev sxwebdev merged commit 4cc35c4 into master Mar 20, 2026
1 check passed
@sxwebdev sxwebdev deleted the feat-add-sql-formatter branch March 20, 2026 01:50
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