-
Notifications
You must be signed in to change notification settings - Fork 143
SQL syntax coloring in string literals broken for versions greater than 0.51.9 #306
Description
Prerequisites
- [X ] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
I have been using Atom for Python coding for a while and I think the core language-python module works extremely well.
Updating Atom from version 1.36.1 to 1.37.0 or even the new 1.38.0 beta, something has changed though. Until version 0.59.1 of language-python, SQL code in string is correctly "syntax highlighted", while in subsequent versions (included in newer versions of Atom) is not. See the attached screenshots below.
Is there any way to restore the original behaviour? For long sql strings in code not having syntax highlighting is a major drawback. Thank you very much. Fabrizio
Steps to Reproduce
See screenshots attached
Expected behavior:
SQL syntax recognized (and properly colored) in string literals
SQL syntax not recognized in strings
Reproduces how often:
Always
Versions
Atom: 1.37.0 or greater
Language-Python: All versions after 0.59.1

