Skip to content

Copy Breadcrumb Path doesn't do anything when you're not focused on a symbol #286240

Description

While testing #285956, I noticed that if I open a file from the explorer, right-click the tab, and then select Copy Breadcrumbs Path, it will simply no-op. Or if I open a file that doesn't support symbol breadcrumbs (e.g. GitHub Action workflows, without the proper extensions installed?), then regardless where I put my cursor, the Copy Breadcrumbs Path doesn't do anything.

This behavior kind of makes sense, but since the command name doesn't mention it's specific to symbols, and the breadcrumb can display a nested folder/file structure, I could imagine it being slightly confusing to some users when/why this actually works. But in practice, maybe no one would ever notice?

That said, I just raise it for conversation, since I don't feel strongly about the issue being a priority. But maybe we could discuss disabling it when there's no symbol selection?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

breadcrumbsbugIssue identified by VS Code Team member as probable bugpolishCleanup and polish issueverification-foundIssue verification failed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions