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

Cannot show full file path for long symbol signature in Go To Symbol #139485

Open
cateyes99 opened this issue Dec 20, 2021 · 3 comments
Open

Cannot show full file path for long symbol signature in Go To Symbol #139485

cateyes99 opened this issue Dec 20, 2021 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues
Milestone

Comments

@cateyes99
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.63.2
  • OS Version: Windows 10 Enterprise, Version 2019, OS Build 18363.1801

Steps to Reproduce:

  1. Press Ctrl+T, type something to find symbols, it triggers a drop-down list. Each entry on the list has two parts, left is a matched symbol, right is the file path.
  2. If the symbol part on the left is short enough, there will be some room on the right to show the file path (usually just incomplete file path). We hover the mouse over the file path, it'll display a pop up to show the full file path as below
    image
  3. If the symbol's signature is too long, there won't be room on the right to show the file path at all. So cannot hover the mouse over the file path, thus no way to tell which one is which as seen below
    image
  4. There should be a way to show the full file path, for example, change to be able to hover the mouse over anywhere of the entry to trigger the pop up to show the full file path
@TylerLeonhardt
Copy link
Member

Notes to myself:

Perhaps once we have #138617, then we could have a nice rich visual hover of these symbols?

cc @bpasero @Tyriar

@TylerLeonhardt TylerLeonhardt added quick-pick Quick-pick widget issues bug Issue identified by VS Code Team member as probable bug labels Dec 22, 2021
@TylerLeonhardt TylerLeonhardt added this to the Backlog milestone Dec 22, 2021
@bpasero
Copy link
Member

bpasero commented Dec 22, 2021

I get a native hover, isn't that sufficient?

@TylerLeonhardt
Copy link
Member

TylerLeonhardt commented Dec 24, 2021

I get a native hover, isn't that sufficient?

I don't think the label gets a hover... only detail and description.

Easy fix: give label a hover
More interesting fix: use a custom hover and provide some nice rich visual (I'm thinking similar to the signatureHelp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues
Projects
None yet
Development

No branches or pull requests

3 participants