-
Notifications
You must be signed in to change notification settings - Fork 194
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
Hover doesn't work on functions that are not fully qualified #673
Comments
@zhenfeng-zhu can you take a look? |
I found the cause of this bug,let me fix it. |
gofenix
pushed a commit
to gofenix/elixir-ls
that referenced
this issue
Feb 10, 2022
Merged
lukaszsamson
pushed a commit
that referenced
this issue
Feb 11, 2022
* #673 fix hover bug for * use function_exported to check module be loaded Change-Id: I8e3c3cde067a7d3313422c0a94f4c4a464bd37de * remove rescue and use if instead of nested cond Change-Id: Ia85056971d7333df5d6a7cf6d3a6bd21c87635eb Co-authored-by: zhuzhenfeng.code <[email protected]>
Addressed in #674 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Current behavior
When I hover on a function name that's not fully qualified (and its module already imported before) the function is being interpreted as "Elixir.function" instead of "CorrectModule.function" and as such documentation lookup fails. This happens for both project local and 3rd party library symbols.
ElixirLS log:
Expected behavior
This seems to be happening since this commit: 2e7ac6d
Before that, it worked as expected.
The text was updated successfully, but these errors were encountered: