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

Show duplicate as a diff view

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -
                • Issue 3130 has been marked as a duplicate of this issue. ***
            Show
            drulli Ulli Hafner added a comment - Issue 3130 has been marked as a duplicate of this issue. ***
            Hide
            drulli 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?

            Show
            drulli 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?
            Hide
            pescuma 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)

            Show
            pescuma 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)
            Hide
            drulli Ulli Hafner added a comment -

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

            Show
            drulli Ulli Hafner added a comment - Maybe the https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin can be reused that has such a component...
            Hide
            drulli Ulli Hafner added a comment -
            Show
            drulli Ulli Hafner added a comment - This editor might help: https://microsoft.github.io/monaco-editor/

              People

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

                Dates

                Created:
                Updated: