Comments are stripped on SqlFormatter.formatSql()
Open
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
Comments are stripped on `SqlFormatter.formatSql()`.
Enabling `include_comments` is intended behavior to implement formatter.
Contributor guide
Research direction
Start at the SqlFormatter.formatSql() entry point and trace how the include_comments option is handled. Reproduce the reported behavior, then verify that enabling include_comments preserves comments without changing the formatter's other output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100