VLS randomly stops working
BlueStaggo opened this issue · comments
System Information
V doctor
OS: windows, Microsoft Windows 11 Home v22000 64-bit
Processor: 12 cpus, 64bit, little endian, Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
CC version: cc (Rev5, Built by MSYS2 project) 11.2.0
getwd: C:\Users\USER\AppData\Local\vls
vmodules: C:\Users\USER\.vmodules
vroot: C:\v
vexe: C:\v\v.exe
vexe mtime: 2022-06-26 08:37:38
is vroot writable: true
is vmodules writable: true
V full version: V 0.2.4 d7f962e.cb60392
Git version: git version 2.33.0.windows.2
Git vroot status: weekly.2022.24-93-gcb603923
.git/config present: true
thirdparty/tcc status: thirdparty-windows-amd64 125e21e2
VLS info
vls version 0.0.1.7fccefa
Problem Description
VLS just works for a few seconds and then stops working for some reason. Sometimes I get this error: VLS: Error communicating with the language server: Error: write EPIPE: undefined.
. I've tried setting timeout to 0 and switching the connection mode to tcp and VLS still will not work consistently.
Expected Output
VLS is consistently accessible all the time through autocomplete, go to symbol, etc.
Actual Output
VLS sometimes hangs around for very long, works for a few seconds and stops again.
Steps to Reproduce
Build VLS from source (downloading from VSCode did not work because it misses out the compiler for the build script), add it as a custom path and open up a V file.
Last Recorded LSP Requests
vls.log is empty.
Also got this error from using tcp: VLS: Error communicating with the language server: Error: write ECONNRESET: undefined.
I would also like to mention that I tried out Sublime Text and VLS constantly quit with status code 1.
Nevermind it is working consistently now.