-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Copy pathname of file #108
Comments
All options except "In the Edit menu" surprisingly require many small changes because only topmost main window and low level file reading classes store actual file path, no one in between (where we want to add a menu option) have access to this data (hey it's, encapsulation 😄 ). However, I've been thinking of reworking that part of source code long ago and now there is an excuse to spend some time on it. |
Actually the first 2 options are my preferred. So it's up to you if you find it simpler to implement on the first 2 options. |
The "copy full path" works, thanks! I see you added also "Open containing folder" However, it never works in the Edit menu. When it works, it would be nice if it opens the folder and preselect the file |
Moved Edit menu to separate issue #112. As for "Open containing folder", I use Qt provided QDesktopServices::openUrl to do this cross-platform. UNC paths might be bug in my code (not using file:// url scheme properly), but preselecting a file is definitely system specific. I'll check if there is some library that provides better cross-platform support for this. |
Fixed Open containing folder in build 19.9.0.487 using code from Qt Creator sources |
Works great now! |
I really miss a "Copy full path" menu item when right-clicking on the path textbox. |
Yes, that's on the todo list |
Added a context menu item to top line with path |
Thanks, but can you rename it as "Copy full path" rather than "Copy all"? |
Also make sure this copies only the path name (currently it copies the textbox content, which may contain "Indexing N%") |
Allow the user to copy the full pathname of the file currently viewed to the clipboard
Some ideas where to add this feature:
The text was updated successfully, but these errors were encountered: