Comment 0 for bug 1817939

Revision history for this message
Rainer (formulator) wrote : IDE: Unpaired quote characters in comments result in a warning

An unpaired single or double quote character in a comment raises a "Possible incomplete string" warning.

To reproduce, create a small script:

# don't do this

Creates the warning, but only if the whole script is run. If only a selection (that contains the comment line) is run, the warning is not shown, even if the selection encompasses the whole script …

Shouldn't anything in comment lines be ignored entirely (just like parentheses etc.) and not be checked for a matching counterpart?

Anyway, this is just a VERY minor nuisance.