-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rename, hover, go to definition and completion are not working properly for this sample code #105
Comments
.v-analyzer/config.toml custom_vroot = "/home/user/programs/v"
enable_semantic_tokens = "none"
[inlay_hints]
enable = true
enable_range_hints = true
enable_type_hints = true
enable_implicit_err_hints = true
enable_parameter_name_hints = true
enable_constant_type_hints = true
enable_enum_field_value_hints = true
[code_lens]
enable = false
enable_run_lens = true
enable_inheritors_lens = true
enable_super_interfaces_lens = true
enable_run_tests_lens = true |
+1 |
yep, same issue, at line 384 when I press
|
Describe the bug
Consider the sample code below
Expected Behavior
bar
when my cursor is at thea
ofx.bar()
bar
when my cursor is at thea
ofx.bar()
fn (x Type) bar()
tofn (x Type) baz()
through the LSP, the change should be propagated to the usage site (x.bar()
)x.
,bar
should be listed as a completion suggestionCurrent Behavior
x.bar
x.bar
fn (x Type) bar()
tofn (x Type) baz()
through the LSP, the change is not propagated to the usage site (it remains asx.bar
inside ofmain
)x.
, onlystr()
is listed as a completion suggestion (bar()
is missing)Reproduction Steps
v init
src/main.v
src/main.v
in the editorPossible Solution
No response
Additional Information/Context
No response
Environment details (
v doctor
output)Editor name
Neovim
v-analyzer Version
v-analyzer version 0.0.4-beta.1.7e11a6f
VS Code Extension Version
No response
The text was updated successfully, but these errors were encountered: