vlang / v-analyzer

The @vlang language server, for all your editing needs like go-to-definition, code completion, type hints, and more.
MIT License
92 stars 10 forks source link

auto complete failure for imported modules #17

Open jcweaver997 opened 6 months ago

jcweaver997 commented 6 months ago

Describe the bug

functions are missing from the autocomplete when importing a module vs having the files in the same module

image

Expected Behavior

Left side to look like right side in the picture above

Current Behavior

only shows things defined in the current module

Reproduction Steps

I'm not sure if you need a big module but I'm using the example for vgdextension found at jcweaver997/vgdextension

Possible Solution

No response

Additional Information/Context

No response

Environment details (v doctor output)

V full version: V 0.4.4 afd74ad.16574df OS: windows, Microsoft Windows 11 Pro v26052 64-bit Processor: 24 cpus, 64bit, little endian,

getwd: C:\Users\jcwea\Documents\git\jvmmo vexe: C:\Users\jcwea\Documents\git\v\v.exe vexe mtime: 2024-02-10 00:25:17

vroot: OK, value: C:\Users\jcwea\Documents\git\v VMODULES: OK, value: C:\Users\jcwea.vmodules VTMP: OK, value: C:\Users\jcwea\AppData\Local\Temp\v_0

Git version: git version 2.40.0.windows.1 Git vroot status: weekly.2024.04-90-g16574df9 (22 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 b99a453d

Editor name

vscode

v-analyzer Version

v-analyzer version 0.0.4-beta.1.2d5d12e

VS Code Extension Version

v0.0.4