File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,14 @@ This makes SQL Formatter available as a global variable `window.sqlFormatter`.
202202- [ Vim extension] ( https://github.com/fannheyward/coc-sql/ )
203203- [ Prettier plugin] ( https://github.com/un-ts/prettier/tree/master/packages/sql )
204204
205+ We provide ** JSON Schema** for ` .sql-formatter.json ` configuration file, enabling autocompletion and IntelliSense support in editors.
206+
207+ - [ JSON Schema link] ( https://raw.githubusercontent.com/sql-formatter-org/sql-formatter/refs/heads/master/schema.json )
208+ - ** Usage Guides:**
209+ - [ Using the schema in VSCode] ( https://code.visualstudio.com/docs/languages/json#_mapping-in-the-user-settings )
210+ - [ Using the schema in Zed] ( https://zed.dev/docs/languages/json#schema-specification-via-settings )
211+
212+
205213### Usage as ESLint plugin
206214
207215- Inside ` eslint-plugin-sql ` by using the rule [ eslint-plugin-sql#format] ( https://github.com/gajus/eslint-plugin-sql#format ) .
Original file line number Diff line number Diff line change 103103 }
104104 },
105105 "custom" : {
106- "description" : " To allow for :name, @name and/or $name syntax for named placholders ." ,
106+ "description" : " An option to implement custom syntax for parameter placeholders. See below for details ." ,
107107 "type" : " array" ,
108108 "items" : {
109109 "type" : " object" ,
You can’t perform that action at this time.
0 commit comments