How to configure for Javascript Stored Procedure ?

for Snowflake stored procedure. How to configure so it recognizes the syntax, structure like SQL.

Thanks

0

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:

0

Thanks
I don't have that “inject language” item 

 

DataGrip 2025.3
Build #DB-253.28294.259, built on November 28, 2025

 

0

KGBhai,

Do you have the LANGUAGE JAVASCRIPT clause and $$ delimiters around the script, similar to my screenshot? Could you share your sample procedure?

0

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.

0

it's Query file (e.g. …\queries\foo.sql)

0

OK I see, have to add it
 

0

KGBhai, good, thanks for the update!

0

请先登录再写评论。