-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Bug/Enhancement: Support GoTo/Declaration for function-local symbols #83
Comments
I found a bug in 0.60.1 related to not distinguishing local and global symbols. In the following code, when I GoTo/Declaration on
|
Regarding the original example, it might be overwhelming to show every local symbol in the structure panel. IIRC, older versions of IntelliJ had filtering options to control whether to show variables (for Java code). On the other hand, if a local symbol is a function, I think I would want to see it in the structure panel in any case. |
fixed in 0.81 |
Great! That works much better, thanks! What do you think about showing nested function definitions in the structure panel, such as I can put in a new request for that if you're open to that. |
@jfehrle I'm not a fan of showing every items in the structure. But please, add a feature request in github for that. I don't know maybe if I can add an icon in the structure panel to enable that feature it could be ok. I don't know how other languages do it. |
plugin version: 0.58.1
Description
GoTo/Declaration doesn't find function-local symbols. For example, it doesn't find "lex", which is defined on the previous line. And it should know it's a local symbol (the tooltip suggests it did a global search).
The text was updated successfully, but these errors were encountered: