Packages: SQL highlighting not working when string is inside 2 functions

Created on 5 Jun 2016  路  4Comments  路  Source: sublimehq/Packages

As title says, SQL highlighting does not work when you wrap the statement in 2 or 3 functions (works with 1 or 4+).

Just try this piece of code:

function2(function1("SELECT * FROM table WHERE something='$variable'"));

Here is an image:
sublime-sql_highlighting

bug

All 4 comments

Possibly an occurence of #403.

If this is PHP, then I can confirm this will be fixed by dev build 3115.

Yes this is PHP.

I am glad at least this will be fixed, as SQL highlighting kinda sucks really hard in PHP, mainly when you use PHP variables and it just stops highlighting after the double/single quote...

Thanks.

Alright, I'm going to close this now, dev build 3115 will contain the fix.

Was this page helpful?
0 / 5 - 0 ratings