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

[VSCode] Feature Request: Support JSON config file

Open
#760 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
2.9k
Forks
456
Avg merge
3d 4h
Merged PRs (30d)
3

Description

Describe the Feature
It would be nice if the VSCode extension could support reading a json config file in the same format expected by the CLI

Why do you want this feature?
I would like a single source of truth for SQL formatting configuration, rather than having to specify it once in workspace VSCode config and once in a json file for use with CLI in our CI / pre-commit autoformatter

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 locating the VSCode extension's configuration handling and the CLI's JSON configuration loading, then compare how both represent formatting options. Done means the extension can read the same JSON configuration format as the CLI, allowing one configuration source for editor and automated formatting.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.