{"id":31482289,"url":"https://github.com/snowflake-labs/vscode-snowsql-formatter","last_synced_at":"2025-10-02T07:45:19.497Z","repository":{"id":182162434,"uuid":"363871650","full_name":"Snowflake-Labs/vscode-snowsql-formatter","owner":"Snowflake-Labs","description":"VS Code Plugin to format snowsql specific code","archived":false,"fork":false,"pushed_at":"2024-05-31T17:02:18.000Z","size":39,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-26T16:37:02.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Snowflake-Labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-03T08:58:13.000Z","updated_at":"2025-05-06T09:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"991f0143-40c1-432e-9a36-3d7ec7113b56","html_url":"https://github.com/Snowflake-Labs/vscode-snowsql-formatter","commit_stats":null,"previous_names":["snowflake-labs/vscode-snowsql-formatter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Snowflake-Labs/vscode-snowsql-formatter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fvscode-snowsql-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fvscode-snowsql-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fvscode-snowsql-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fvscode-snowsql-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snowflake-Labs","download_url":"https://codeload.github.com/Snowflake-Labs/vscode-snowsql-formatter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fvscode-snowsql-formatter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277974426,"owners_count":25908396,"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","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-02T07:45:18.074Z","updated_at":"2025-10-02T07:45:19.484Z","avatar_url":"https://github.com/Snowflake-Labs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snowflake SQL Formatter\n\nFormat SQL files using the [snowsql-formatter](https://github.com/Snowflake-Labs/snowsql-formatter) npm package. This plugin is a clone of the [vscode-sql-formatter](https://github.com/kufii/vscode-sql-formatter) with some snowflake specific changes added on.\n\n## Configuration\n\n**`sql-formatter.dialect`**: Changes which dialect to format with (`sql`: Standard SQL, `n1ql`: Couchbase N1QL, `db2`: IBM DB2, `pl/sql`: Oracle PL/SQL). Defaults to `sql`.\n\n**`sql-formatter.uppercase`**: Convert keywords to uppercase. Defaults to false.\n\n**`sql-formatter.linesBetweenQueries`**: Number of linebreaks between queries. Defaults to 2.\n\n## Testing\n\n### Generate VSIX file\n\n```bash\n# Install dependencies\nyarn install\n\n# login into VS Code extension publish registry\nvsce login\n\n# Build a vscode plugin\nvsce package\n```\n\n### Install VSIX into VS Code\n\nThe build process should produce a VSIX file. We can then simply go to `VSCode -\u003e Extensions -\u003e Install from VSIX` as shown in the image below:\n\n![image](https://user-images.githubusercontent.com/72515998/116860323-01da9d00-ac1f-11eb-83ee-3d4241df15d4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowflake-labs%2Fvscode-snowsql-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowflake-labs%2Fvscode-snowsql-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowflake-labs%2Fvscode-snowsql-formatter/lists"}