feat: add support for SQL syntax highlighting
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
Add basic SQL syntax highlighting to `edit`.
Currently, `.sql` files are not detected as SQL and are opened without SQL syntax highlighting.
The highlighting should cover common SQL syntax such as:
- Keywords
- Comments
- Strings
- Numbers
- Boolean and `NULL` values
- Operators
- Common SQL functions
It would also be useful to support SQL code blocks in Markdown.
Contributor guide
Research direction
Start in edit's language-detection and syntax-highlighting paths, comparing the handling of existing languages. Check `.sql` file detection and SQL code blocks in Markdown. Done means common SQL keywords, comments, strings, numbers, booleans, NULL values, operators, and functions receive highlighting in both contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, sql
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100