use pointCommand in findDefString to allow static-ls to jump to bindings#151
Open
goolord wants to merge 1 commit intojosephsumabat:mainfrom
Open
use pointCommand in findDefString to allow static-ls to jump to bindings#151goolord wants to merge 1 commit intojosephsumabat:mainfrom
pointCommand in findDefString to allow static-ls to jump to bindings#151goolord wants to merge 1 commit intojosephsumabat:mainfrom
Conversation
Owner
|
Is the local definition not working for you? We already look up the hiefile in the snippet above (This does effectively the same thing as
(Let me know if I'm missing anything else here) |
Contributor
Author
|
yes, goto definition isn't working for local bindings on master. I guess I missed |
Owner
|
I'm going to take some time to look into this before making a decision on merging or closing. we probably still want some fallback if hie files are not available |
d5385fd to
4a20b01
Compare
2f843c0 to
676f2d3
Compare
Mycatty
approved these changes
Aug 12, 2025
|
Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of querying the DB directly, we could use
pointCommandto get the location of a name, which means static-ls could jump to the definition offooin the trivial example