sql-formatter-org / sql-formatter-org/sql-formatter
Support drift sqlite syntax
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 456
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 3
Description
Drift is a persistence library for Dart bases on SQLite. It has introduced some modifications/extensions to the basic SQLite syntax for better code generation. See drift_files.
Would it be possible to support this syntax? Would be great to use the VSCode extension to format drift files. If you'd consider adding support I'd be happy to try and work on a PR.
Contributor guide
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
Start by reading the linked Drift documentation on drift_files and the repository's TypeScript formatter and VSCode extension entry points. Identify which Drift syntax differs from SQLite and define the formatting behavior needed for Drift files. Done means the extension can format representative Drift files without breaking standard SQLite formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, sqlite, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100