Closed YEM-1 closed 4 years ago
Currently it only highlight snowflake store procedures. Create something like :
Create procedure foo() language JavaScript as $$ Return 1; $$
On Thu, Sep 24, 2020 at 08:40 YEM-1 notifications@github.com wrote:
Sorry, I feel really dumb here. I installed the package, created a new .js file. I typed in create or replace procedure and everything is highlighted with red squiggly underline as if it doesn't recognize those key words. So, how to turn it on?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/orellabac/snowflake-sp-syntax-coloring/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XXIORHF4HXIIZH2E2LSHNK45ANCNFSM4RYMPMZA .
Currently it only highlight snowflake store procedures. Create something like : Create procedure foo() language JavaScript as $$ Return 1; $$ … On Thu, Sep 24, 2020 at 08:40 YEM-1 @.***> wrote: Sorry, I feel really dumb here. I installed the package, created a new .js file. I typed in create or replace procedure and everything is highlighted with red squiggly underline as if it doesn't recognize those key words. So, how to turn it on? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XXIORHF4HXIIZH2E2LSHNK45ANCNFSM4RYMPMZA .
Yes, that is what I'm doing, and the entire thing is showing as one big syntax error with almost every word red underlined. See screenshot:
Can you check which language it is using for highlight? And the bottom of the editor it you can Click to select the language you have to select snowsql I think 🤔
On Sun, Sep 27, 2020 at 09:38 YEM-1 notifications@github.com wrote:
Currently it only highlight snowflake store procedures. Create something like : Create procedure foo() language JavaScript as $$ Return 1; $$ … <#m786954476184357495> On Thu, Sep 24, 2020 at 08:40 YEM-1 @.***> wrote: Sorry, I feel really dumb here. I installed the package, created a new .js file. I typed in create or replace procedure and everything is highlighted with red squiggly underline as if it doesn't recognize those key words. So, how to turn it on? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 https://github.com/orellabac/snowflake-sp-syntax-coloring/issues/1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XXIORHF4HXIIZH2E2LSHNK45ANCNFSM4RYMPMZA .
Yes, that is what I'm doing, and the entire thing is showing as one big syntax error with almost every word red underlined. See screenshot: [image: image] https://user-images.githubusercontent.com/38545920/94369132-f6862880-00b5-11eb-8cf7-fcebabb18618.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/orellabac/snowflake-sp-syntax-coloring/issues/1#issuecomment-699650664, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XSBP3UEW6NCQKKC6D3SH5MAVANCNFSM4RYMPMZA .
Because it should look like this:
On Sun, Sep 27, 2020 at 09:38 YEM-1 notifications@github.com wrote:
Currently it only highlight snowflake store procedures. Create something like : Create procedure foo() language JavaScript as $$ Return 1; $$ … <#m786954476184357495> On Thu, Sep 24, 2020 at 08:40 YEM-1 @.***> wrote: Sorry, I feel really dumb here. I installed the package, created a new .js file. I typed in create or replace procedure and everything is highlighted with red squiggly underline as if it doesn't recognize those key words. So, how to turn it on? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1 https://github.com/orellabac/snowflake-sp-syntax-coloring/issues/1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XXIORHF4HXIIZH2E2LSHNK45ANCNFSM4RYMPMZA .
Yes, that is what I'm doing, and the entire thing is showing as one big syntax error with almost every word red underlined. See screenshot: [image: image] https://user-images.githubusercontent.com/38545920/94369132-f6862880-00b5-11eb-8cf7-fcebabb18618.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/orellabac/snowflake-sp-syntax-coloring/issues/1#issuecomment-699650664, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAM3XSBP3UEW6NCQKKC6D3SH5MAVANCNFSM4RYMPMZA .
Ok, that was the issue. Once I select "SnowScriptJS" it works.
Sorry, I feel really dumb here. I installed the package, created a new .js file. I typed in
create or replace procedure
and everything is highlighted with red squiggly underline as if it doesn't recognize those key words. So, how to turn it on?