Open resolritter opened 1 month ago
.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 SHIFT
+ K
which is document hover command in neovim, as you can see at the bottom of screenshot, it says No information available
. However, function definition is actually just right below the cursor. so obviously not working and also this happens across the whole document as well. Some symbols work, some does not. For example, all grid
, row
and col
identifiers are also did not recognized by the v-analyzer as well. Hover
and GoToDefinition
commands do nothing.
v doctor
:V full version: V 0.4.6 0d52a7d
OS: windows, Microsoft Windows 11 Pro v22621 64-bit
Processor: 12 cpus, 64bit, little endian,
getwd: C:\Users\user\Documents\Github\v_test
vexe: C:\Users\user\Documents\Github\v\v.exe
vexe mtime: 2024-06-07 09:54:37
vroot: OK, value: C:\Users\user\Documents\Github\v
VMODULES: OK, value: C:\Users\user\.vmodules
VTMP: OK, value: C:\Users\user\AppData\Local\Temp\v_0
Git version: git version 2.45.2.windows.1
Git vroot status: 0d52a7d9 (4 commit(s) behind V master)
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command,
operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b425ac82
v-analyzer -v
:v-analyzer version 0.0.4-beta.1.2d5d12e
When open document symbol picker, there is no set_cell_type
function symbol.
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