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

Add Copy relative path to clipboard option in list of committed files

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.

      This is related to SRCTREE-7702. When I copy one or more paths from the list of files in a particular commit, I often want to perform some kind of operation in the repo directory: editing or zipping up those files or whatever. Probably 90% of the time, what I really want is not the full absolute path to each file, but instead the path to each file relative to the root folder. In fact, I want those paths exactly as they're displayed in the list of commit files.

      IntelliJ IDEA does a nice job of this, providing a number of options when copying paths, including absolute path, path from source root (which wouldn't really apply to Sourcetree because it's not aware of what a source folder is), and path from content root (project root, I think) or path from repository root, i.e. something like src/main/java/.../Foo.java, which is what I'd like as an alternative.

              Unassigned Unassigned
              8d439cff5a2a Rick Herrick
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: