Closed pipeti closed 2 years ago
Hi. Seems multi line string is accidently terminated here on syntax highlighting. Is now marked as a bug. Must be fixed inside EGradle Editor, because used internally by Jenkins Editor as library.
@de-jcup The last commit to this repo is a year ago. Any chance this issue will get resolved eventually or is development stopped?
It's the same with triple single-quotes and can be quite annoying. I stumbled upon it when using script like this: ''' sed 's/something//' file ... '''
Since the editor thought the s/something// was outside the quoted string, it treated the // as a comment and so skipped over the closing quote. As a consequence, the quote detection was broken for the rest of the file.
Must be fixed inside EGradle before - see mentioned link. EGradle editor is internally used in Jenkins Editor as base
With jenkins editor 1.8.0 at eclipse 2021-12 I got
and also
So it looks fine for myself - so I close this issue. If this is still a problem please comment at this issue and add some explicit example snippets.
Hi,
I get inconsistent highlighting, when using a triple-double-quoted limited gstring, e.g.:
The coloring is not exactly consistent, seems the string is terminated by the single-double-quote and then a new one is started by the other one.
Any recommendations? Thanks