sql-formatter-org / sql-formatter-org/sql-formatter

Support drift sqlite syntax

Open
#530 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature new dialect
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.