Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2541

Copy with Diff Markers

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Overview: When writing tutorials or code documentation, it's helpful to be able to paste a git diff output, which can highlight added lines in green and deleted lines in red.

      For example, I might want to paste:

       - (void) myMethod {
      +    [self doSomethingNew];
      -    [self noLongerUsed];
       }
      

      However, right-clicking on the diff and pressing "Copy" doesn't let me include the plus and minus symbols.

      I recommend adding a "Copy with Diff Markers" option. I understand this is a minor use case, so perhaps it should only be visible when holding down the option key.

              Unassigned Unassigned
              7cd1a0fe291a Aaron Brager
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: