[1.1.4] IDE: Warning: Unpaired quote characters in comments

Bug #1817939 reported by Rainer on 2019-02-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

------------------- problem situation
This is related to the IDE option <delete not used images on save>.
Comments are also checked for image file names, to avoid deletion of an image, that might not be used only temporarily (hence commented out, but should not be deleted).
The warning should be more declarative and should only come up if the situation is relevant.

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.

RaiMan (raimund-hocke) on 2019-02-27
summary: - IDE: Unpaired quote characters in comments result in a warning
+ [1.1.4] IDE: Warning: Unpaired quote characters in comments
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
RaiMan (raimund-hocke) on 2019-02-27
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers