zigtools / zls-vscode

Deprecated, please use https://github.com/ziglang/vscode-zig
https://github.com/ziglang/vscode-zig
MIT License
85 stars 15 forks source link

Add support for `~` in `zigLanguageClient.path` #19

Closed OoLunar closed 2 years ago

OoLunar commented 3 years ago

When attempting to do ~/Code/zls/zig-cache/bin/zls, the extension fails with

[Error - 12:51:26 PM] Starting client failed
Launching server using command ~/Code/zls/zig-cache/bin/zls failed.

Perhaps show the error next time? Solution was /home/lunar/Code/zls/zig-cache/bin/zls

gkiely commented 2 years ago

Same issue I was pointing to ~/zls/zls and couldn't figure out why it wasn't starting.

I realize this is a separate issue but it would be great if zls just printed out the correct path after running configure.

image