quarto-dev / quarto-dev/quarto
Enable SQL Syntax Highlighting in String Literals in VS Code
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
It is common to have SQL in string literals (e.g. in Python strings) which are then passed to a library to query a database.
Currently SQL within string literals are treated the same as other strings. It would be great if they would be recognized and receive special treatment.
There are existing VS Code extensions that highlight the SQL in string literals but afaiu they only work with files set to Python mode whereas Quarto has its own "Quarto" mode.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Quarto VS Code language-mode and syntax-highlighting implementation, then determine how SQL inside Python string literals should be recognized; done means SQL receives distinct highlighting in Quarto mode without changing ordinary strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql, typescript, vscode
- Domain
- devtools, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100