+6
SQL syntax highlighting error in concatenated python strings
In python strings that are broken up onto multiple lines (e.g. see below), SQL syntax highlighting only appears on the very first line of the string.
statement = ("SELECT <col> FROM <table> WHERE "
"<col> = <value> AND <col> = <value>;")
0
Joel Thornton 12 år siden
I would also like to see this addressed. More broadly I believe it is a general problem with continuing a given syntax scope across string concatenation boundaries. Unfortunately those boundaries are constructed differently in every programming language so this may not be a straightforward thing to fix.
Kundesupport af UserEcho