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

"Go to Symbol in Workspace…" but with symbols in dependencies, or equivalent functionality #60441

Open
6 tasks done
tinder-tannerbennett opened this issue Nov 6, 2024 · 1 comment
Labels
Needs More Info The issue still hasn't been fully clarified

Comments

@tinder-tannerbennett
Copy link

🔍 Search Terms

typescript, symbol, go to symbol in workspace, dependencies

✅ Viability Checklist

⭐ Suggestion

When using the "Go to Symbol in Workspace…" feature in VS Code, only symbols within my project are shown. I think it should show symbols in my project and my dependencies, or at the very least there should be a setting to toggle showing dependency symbols.

I previously thought this was a bug but was told this was intentional (#59551) so I'm opening a formal feature request.

📃 Motivating Example

I often want to use "Go to Symbol in Workspace…" to look up symbols in Node, TS, VS Code, or other dependencies, as I work. I actually rarely use it to look up my own symbols, I instead use ⌘P and jump to the relevant file.

💻 Use Cases

What do you want to use this for?

I want to use it for browsing the APIs of my dependencies, such as whether a given API even exists.

What shortcomings exist with current approaches?

It is more tedious to type out the desired type and ⌘-click it.
Sometimes I want to want to look up a symbol to see if it even exists before I type it.

What workarounds are you using in the meantime?

I type out the symbol and ⌘-click it.

@RyanCavanaugh
Copy link
Member

I believe you're asking for this setting? If not, a concrete repro that demonstrates what you're expecting to find would be needed

Image

@RyanCavanaugh RyanCavanaugh added the Needs More Info The issue still hasn't been fully clarified label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs More Info The issue still hasn't been fully clarified
Projects
None yet
Development

No branches or pull requests

2 participants