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

Add navigate to symbols #292

Open
edelvalle opened this issue Aug 2, 2021 · 4 comments · May be fixed by #510
Open

Add navigate to symbols #292

edelvalle opened this issue Aug 2, 2021 · 4 comments · May be fixed by #510
Labels
enhancement New feature or request

Comments

@edelvalle
Copy link

This plugin does not provide a way to find or navigate to symbols if you know their name.

When I use the go to any bar with # or @ to find a symbol in the whole project or in the current file, there are no symbols provided.

If you point me to the documentation of th VSCode API and the place to do it in this plugin maybe I can implement it myself, but I need some guidance here.

@amiralies
Copy link
Contributor

Can you give an example of the feature you are looking for in other extensions?
I think you're looking for workspace symbols and/or document symbols

@edelvalle
Copy link
Author

I think you're looking for workspace symbols and/or document symbols

Yes, that's what I'm looking for. Something like this:

image

@darenju
Copy link

darenju commented Dec 22, 2021

Bumping this. It could be really cool to be able to navigate to our variables or functions declarations.

@zth zth added the enhancement New feature or request label May 5, 2022
@aspeddro aspeddro linked a pull request Jul 22, 2022 that will close this issue
@nireno
Copy link

nireno commented Feb 9, 2024

@ seems to mostly work for me in terms of finding variable/function names when I'm editing a file.
Doesn't seem to catch variables that were destructured though, like it won't pick up foo or setFoo in:

let (foo, setFoo) = React.useState(() => false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants