• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • warnings-ng-plugin
    • Platform: All, OS: Windows XP

      In the DRY plugin, when showing the source code for the duplication, I think a
      better view would be showing both files, side by side, with the duplication
      aligned and 10 lines bellow and above it for both files (a lot like a diff
      view). I think that would help a lot the visualization of the problem and its
      context.

          [JENKINS-3129] Show duplicate as a diff view

          Ulli Hafner added a comment -
              • Issue 3130 has been marked as a duplicate of this issue. ***

          Ulli Hafner added a comment - Issue 3130 has been marked as a duplicate of this issue. ***

          Ulli Hafner added a comment -

          Yes that is a good idea (and was my original plan). Do you know if such a web
          component is somewhere already available?

          Ulli Hafner added a comment - Yes that is a good idea (and was my original plan). Do you know if such a web component is somewhere already available?

          pescuma added a comment -

          No, I don't know of such a component. But considering that you already show the
          diff in the file, wouldn't it be a matter of showing it twice, side by side? (of
          course with some padding to make both start at same place)

          pescuma added a comment - No, I don't know of such a component. But considering that you already show the diff in the file, wouldn't it be a matter of showing it twice, side by side? (of course with some padding to make both start at same place)

          Ulli Hafner added a comment -

          Maybe the https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin can be reused that has such a component...

          Ulli Hafner added a comment - Maybe the https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin can be reused that has such a component...

          Ulli Hafner added a comment -

          Ulli Hafner added a comment - This editor might help: https://microsoft.github.io/monaco-editor/

            Unassigned Unassigned
            pescuma pescuma
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: