Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-9330

Accurately copy whitespace to clipboard from diff view

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • 2.6.10
    • Standalone

      Windows 10 Pro 64-bit Build 17134.285

      JDK 1.8.0_181
    • 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.

    Description

      1. Click on a line in the diff viewer (e.g. when previewing a commit in the log/history tab)
      2. Ctrl+C
      3. Paste in any IDE/text editor
      4. Any tabs present in the original source file have been converted to four spaces

      It would be very useful for any lines copied from the diff viewer to have their original whitespace preserved. I often find myself wanting to grab a line I deleted a few commits ago, and do so by selecting the commit where I removed it and copying it out of the diff viewer. Because the diff viewer converts tabs to spaces, I have to fix the whitespace every time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            0b1149f887cd Willa Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: