-
Improvement
-
Resolution: Unresolved
-
Minor
Currently only the first range is shown.
- relates to
-
JENKINS-35255 Show all warnings in source code visualization
-
- Open
-
Currently only the first range is shown.
JENKINS-35255
Show all warnings in source code visualization
The documentation contains an example of the source code view with one range highlighted: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md#source-code-view
Basically, the try block (see SourcePrinter) needs to be wrapped into a loop over the existing lineRanges of an issue.