Skip to content
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

Right-click on breadcrumbs to copy path #174006

Closed
canadaduane opened this issue Feb 9, 2023 · 2 comments
Closed

Right-click on breadcrumbs to copy path #174006

canadaduane opened this issue Feb 9, 2023 · 2 comments
Assignees
Labels
breadcrumbs *duplicate Issue identified as a duplicate of another issue(s)

Comments

@canadaduane
Copy link

canadaduane commented Feb 9, 2023

Currently, the breadcrumbs can only be used to navigate up or down the path hierarchy. I'd like to be able to get the path from the breadcrumbs. I imagine being able to right-click and copy the path-up-to-this-point.

Examples:

backend > src > pages > api > public > users > get.ts > default > auth

If I right-click on "get.ts" I would be able to select "Copy Path" and then have "backend/src/pages/api/public/users/get.ts" sent to the clipboard. If I right-click on "pages", select "Copy Path", then "backend/src/pages" would be sent to the clipboard.

Breadcrumb items that do not correspond to a path segment could be followed "back" up to the nearest segment that corresponds to an actual path--e.g. Right-click on "auth" in the example above would result in "backend/src/pages/api/public/users/get.ts".

It seems this would be very similar to the right-click "Copy Path" or "Copy Relative Path" submenu items from the explorer view.

Note: On Mac OS X it is possible to ctrl+click on the filename in the window to get the path via a pop-up that allows you to select the path segment. This feature request would particularly serve Windows and Linux users well, since they do not have that OS affordance.

@jrieken jrieken added *duplicate Issue identified as a duplicate of another issue(s) breadcrumbs labels Feb 10, 2023
@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 10, 2023
@canadaduane
Copy link
Author

I believe the referenced duplicate is #58678

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breadcrumbs *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants