question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

View/copy full path of file (Changes or History tab)

See original GitHub issue

Description

In history mode, view/copy complete file path if it’s longer than the given screenspace. View screenshot. Copying gives me src/main/webapp/WEB-INF/views/web/p…/manage.jsp

See #2801 for more context.

GitHub Desktop version: 0.9.1

OS version: 10.12.6

Actual behavior:

copy-file

Reproduces how often: 100%

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
billygriffincommented, Oct 16, 2018

Thanks @Amabel for running with @niik’s suggestion. Seems reasonable to me. I think the only change I’d recommend is to be a bit more explicit about what exactly is being copied just to make sure people don’t think this would copy the contents of the file somehow. In this case, I think “Copy File Path” would work with the same casing as the other things in the context menu. Feel free to go ahead and open a PR and we’ll address any additional feedback there.

1reaction
niikcommented, Oct 3, 2017

Hey @artivilla. Our component for rendering file paths doesn’t, as you’ve noticed, rely on css to perform truncation. CSS currently only supports truncating text at the end whereas we really wanted a more intelligent truncation for paths where the beginning and end is usually the most important bits.

In this case I think we could add a context menu as well as a hotkey (Cmd/Ctrl+C) when focused on an item to copy the full path. I’ve added this to the design review project to get some more thoughts on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to view or copy the full path of a folder or file. | Sony USA
Click the Start button and then click Computer, click to open the location of the desired folder, and then right-click to the right...
Read more >
View a file's version history – Figma Help Center
Keep track of changes you've made to your files with version history. Explore a timeline of events dating back to the file's creation....
Read more >
Making git diff --stat show full file path - Stack Overflow
On doing git diff --stat some files are listed with full path from repository base but some files are ...
Read more >
Restore an earlier document version in Pages on Mac
View, copy, and restore an earlier version · Edit the current version: Click the thumbnail on the left, make your changes, then click...
Read more >
AlternateStreamView - View/Copy/Delete NTFS Alternate Data ...
Fixed bug: AlternateStreamView didn't display alternate streams attached to the root folder of the search. Added 'Add Header Line To CSV/Tab-Delimited File' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found