Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55598

Show all line ranges in source code visualization

      Currently only the first range is shown.

          [JENKINS-55598] Show all line ranges in source code visualization

          Ulli Hafner added a comment -

          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.

          Ulli Hafner added a comment - 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.

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: