-
Improvement
-
Resolution: Unresolved
-
Minor
Currently only the first range is shown.
- relates to
-
JENKINS-35255 Show all warnings in source code visualization
-
- Open
-
[JENKINS-55598] Show all line ranges in source code visualization
Rank | New: Ranked higher |
Rank | New: Ranked higher |
Assignee | Original: Ulli Hafner [ drulli ] | |
Labels | New: help-wanted |
Labels | Original: help-wanted | New: help-wanted newbie-friendly |
Link | New: This issue is related to JENKINS-61940 [ JENKINS-61940 ] |
Link | New: This issue is blocking JENKINS-61940 [ JENKINS-61940 ] |
Link | Original: This issue is related to JENKINS-61940 [ JENKINS-61940 ] |
Epic Link | New: JENKINS-61940 [ 205820 ] |
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.