You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
broken syntax highlighting with strange combination of SQL code inside of mult-line string #143
This also seems to slow down the entire editor. I have a rather large file full of multi-line strings with embedded quotes in SQL, and editing any line after the first instance of this formatting issue causes is 2-3 seconds per keystroke. Disabling language-sql does work, thanks @PostalBlab
Activity
ulidtko commentedon May 12, 2016
Two levels of quoting seem to trigger bad markup as well.
E.g. with single level of quoting:

and with nested quoting:

What's especially vexing with this bug — the rest of the file gets mishighlighted as well, and no simple way around that.
thomir commentedon Jul 17, 2016
Is there a workaround for this? Personally I'm fine without the syntax highlighting for SQL statements.
PostalBlab commentedon Aug 6, 2016
@thomir you can disable language-sql. This works for me.
erichurkman commentedon Aug 15, 2016
This also seems to slow down the entire editor. I have a rather large file full of multi-line strings with embedded quotes in SQL, and editing any line after the first instance of this formatting issue causes is 2-3 seconds per keystroke. Disabling
language-sqldoes work, thanks @PostalBlabmatt-baker commentedon Oct 12, 2016
@PostalBlab - thanks for the workaround on disabling language-sql. That worked for me as well.
For anyone else looking for where to disable language-sql - it's under Preferences\Packages.
agrrh commentedon Jan 6, 2018
+1, really annoying bug, especially with
'DELETE'part.ulidtko commentedon Jan 10, 2018
Looks like
language-pythonis heading to the trash can;MagicPythonto replace it, see atom/atom/#13877.sunnyakaxd commentedon Jul 9, 2018