Closed taozuhong closed 4 years ago
Please open this bug in https://github.com/benwaffle/vala-language-server
Okay, the first part of this bug belongs here. The second part of this bug belongs in vala-language-server.
done, pls see: https://github.com/benwaffle/vala-language-server/issues/58
OS: Windows7 6.1.7601 + MSYS2 (3.1.4) + Pacman(5.2.1) Vala: 0.48
clone vls and compile it, then copy vala-language-server.exe to /mingw64/bin ----> vala-vscode can't load and start vls
update client.ts to return valid path directly:
----> then start the vls server, failed to load document:
(process:89728): Json-CRITICAL **: 13:59:50.806: json_node_get_array: assertion 'JSON_NODE_IS_VALID (node)' failed
(process:89728): Json-CRITICAL **: 13:59:50.806: json_array_get_elements: assertion 'array != NULL' failed vls: main.vala:172: Got notification! initialized vls: main.vala:176: no notification handler for initialized vls: main.vala:172: Got notification! textDocument/didOpen vls: main.vala:531: failed to find text document for
d:\Codelabs\GitHub\kangaroo\src\main.vala' vls: main.vala:180: Got call! textDocument/documentSymbol vls: main.vala:531: failed to find text document for
d:\Codelabs\GitHub\kangaroo\src\main.vala' vls: main.vala:960: [textDocument/documentSymbol] file `file:///d%3A/Codelabs/GitHub/kangaroo/src/main.vala' not foundthe vls server can start, then output the follow log: