How to configure for Javascript Stored Procedure ? KGBhai 创建于 2026年02月10日 15:38 for Snowflake stored procedure. How to configure so it recognizes the syntax, structure like SQL.Thanks
Hi,
We don't have full support for JavaScript in DataGrip. There is a feature request tracking this: DBE-19319/Full-javascript-support-in-DataGrip.
Until then, you can use Inject language or reference from the Context Actions to inject
textmate, which provides basic highlighting:Thanks
I don't have that “inject language” item
DataGrip 2025.3
Build #DB-253.28294.259, built on November 28, 2025
KGBhai,
Do you have the
LANGUAGE JAVASCRIPTclause and$$delimiters around the script, similar to my screenshot? Could you share your sample procedure?Is this an SQL file? Do you have Snowflake selected as the dialect in the top-right corner of the file or in Settings | Database | SQL Dialects?
Also, please upgrade to DataGrip 2025.3.5, especially since 2025.3 included some known issues.
it's Query file (e.g. …\queries\foo.sql)
OK I see, have to add it
KGBhai, good, thanks for the update!