{"id":19456961,"url":"https://github.com/sql-formatter-org/sql-formatter-vscode","last_synced_at":"2025-04-07T12:05:09.537Z","repository":{"id":60700620,"uuid":"539445671","full_name":"sql-formatter-org/sql-formatter-vscode","owner":"sql-formatter-org","description":"VSCode extension to format SQL files","archived":false,"fork":false,"pushed_at":"2025-02-10T07:42:38.000Z","size":1153,"stargazers_count":64,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T00:49:16.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sql-formatter-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-21T11:10:34.000Z","updated_at":"2025-03-15T01:21:00.000Z","dependencies_parsed_at":"2023-01-27T15:16:22.777Z","dependency_job_id":"8a767a1f-495f-42bc-aa2b-9d0aefc95cf6","html_url":"https://github.com/sql-formatter-org/sql-formatter-vscode","commit_stats":{"total_commits":220,"total_committers":9,"mean_commits":"24.444444444444443","dds":"0.38636363636363635","last_synced_commit":"a30060f8074039834b02f20637d2344a610b4d13"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-formatter-org%2Fsql-formatter-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-formatter-org%2Fsql-formatter-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-formatter-org%2Fsql-formatter-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sql-formatter-org%2Fsql-formatter-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sql-formatter-org","download_url":"https://codeload.github.com/sql-formatter-org/sql-formatter-vscode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457967,"owners_count":20780676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T17:19:20.503Z","updated_at":"2025-03-31T11:01:39.847Z","avatar_url":"https://github.com/sql-formatter-org.png","language":"TypeScript","readme":"\u003ca href='https://github.com/sql-formatter-org/sql-formatter'\u003e\u003cimg src=\"https://raw.githubusercontent.com/sql-formatter-org/sql-formatter-vscode/master/sql-formatter-icon.png\" width=\"128\"/\u003e\u003c/a\u003e\n\n# SQL Formatter VSCode [![version number](https://img.shields.io/visual-studio-marketplace/v/ReneSaarsoo.sql-formatter-vsc?label=vscode)](https://marketplace.visualstudio.com/items?itemName=ReneSaarsoo.sql-formatter-vsc)\n\nFormats SQL files using the [sql-formatter][] library.\n\n**Note:** _This extension is a direct successor of **Prettier SQL VSCode** extension, which is no more maintained._\n\nSupports the following SQL Dialects:\n\n- Standard SQL\n- BigQuery\n- DB2 for LUW (Linux, Unix, Windows)\n- DB2 for IBM iSystem\n- Hive\n- MariaDB\n- MySQL\n- N1QL\n- PL/SQL\n- PostgresQL\n- Amazon Redshift\n- SingleStoreDB\n- Snowflake\n- Spark\n- SQLite\n- Trino (Presto)\n- TransactSQL\n\n## Configuration\n\n- `dialect`: The SQL dialect to use when parsing the SQL files for formatting.\n\n  **It is recommended to explicitly set this option.**\n\n  By default the formatter relies on VSCode to provide it information about the SQL dialect you're using,\n  but this depends heavily on your VSCode environment and other extensions you have installed.\n\n- `ignoreTabSettings`: Whether to ignore VSCode user/workspace settings for `tabSize` and `insertSpaces`\n\n- `tabSizeOverride`: Overrides `tabSize` if `ignoreTabSettings` is enabled\n\n- `insertSpacesOverride`: Overrides `insertSpaces` if `ignoreTabSettings` is enabled\n\n- `keywordCase`: Whether to print keywords in ALL CAPS or lowercase\n\n- `dataTypeCase`: Whether to print data types in ALL CAPS or lowercase\n\n- `functionCase`: Whether to print function names in ALL CAPS or lowercase\n\n- `identifierCase`: Whether to print identifiers in ALL CAPS or lowercase (experimental)\n\n- `indentStyle`: Switched between standard keyword positioning vs maintaining a central space column\n\n- `logicalOperatorNewline`: Whether to break before or after AND and OR\n\n- `expressionWidth`: Number of characters allowed in each line before breaking\n\n- `linesBetweenQueries`: How many newlines to place between each query / statement\n\n- `denseOperators`: Whether to strip whitespace around operators such as + or \u003e=\n\n- `newlineBeforeSemicolon`: Whether to place semicolon on its own line or on previous line\n\n- `paramTypes`: Specifies parameter placeholders types to support\n\n## Having a problem?\n\nPlease report issues to [SQL Formatter library Github page][issues].\n\nThis extension and the sql-formatter library share the same issue tracker,\nas the authors of both are the same and the bugs reported about the VSCode\nextension are really mostly bugs in the underlying formatter library.\n\nDon't worry about this difference though when reporting problems.\nBut do [read the FAQ][faq] before filing your report.\n\n## Release process\n\n- Bump the version number\n- Add entry to changelog\n- Commit and tag the version\n- run `yarn vsce:package`\n- Go to [VSCode marketplace](https://marketplace.visualstudio.com/manage/publishers/renesaarsoo)\n- Select SQL Formatter VSCode -\u003e Update\n\n[sql-formatter]: https://github.com/sql-formatter-org/sql-formatter\n[issues]: https://github.com/sql-formatter-org/sql-formatter/issues\n[faq]: https://github.com/sql-formatter-org/sql-formatter#frequently-asked-questions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-formatter-org%2Fsql-formatter-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsql-formatter-org%2Fsql-formatter-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsql-formatter-org%2Fsql-formatter-vscode/lists"}