← Back to team overview

sikuli-driver team mailing list archive

[Bug 1817939] Re: [1.1.4] IDE: Warning: Unpaired quote characters in comments

 

** Changed in: sikuli
    Milestone: 1.1.4 => 2.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1817939

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

Status in Sikuli:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1817939/+subscriptions


References