Hey,
Long-time Pro license user here. Wanted to raise a feature request for the VS Code extension.
The Problem
When the official Snowflake VS Code extension (Snowflake.snowflake-vsc) is installed alongside SQLinForm, it registers .sql files under the language ID snowflake-sql instead of the standard sql.
This means SQLinForm is never offered as a formatter and VS Code shows:
"There is no formatter for 'snowflake-sql' files installed."
Setting the default formatter explicitly in settings.json does not help either — the setting is simply ignored because SQLinForm never registered support for the snowflake-sql language ID.
The Fix
SQLinForm's package.json currently only declares sql as a supported language ID in activationEvents and documentFormattingProvider. Adding snowflake-sql alongside sql would resolve this completely.
My Setup
- VS Code: 1.134.0 (x64)
- OS: Windows 11
- Conflicting extension: Snowflake.snowflake-vsc
Given how widely adopted the Snowflake VS Code extension is, I imagine other users are hitting the same wall. Would love to see this in a future release!
Thanks for the great formater.
— Thorsten
