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

Issues with m1 mac #48

Closed bayou-brogrammer closed 1 year ago

bayou-brogrammer commented 2 years ago

I installed zig from master then installed ZLS from master, but every-time i open VScode, it fails to find ZLS in my path.

CleanShot 2022-08-28 at 16 24 27@2x CleanShot 2022-08-28 at 16 28 12@2x

I had to specifically go into vscode settings and set the zls.path for it to pick up correctly

hhstore commented 2 years ago

image

image

my env:


➤ zig env
{
 "zig_exe": "/Users/dev/.local/bin/zig",
 "lib_dir": "/Users/dev/.local/bin/lib/zig",
 "std_dir": "/Users/dev/.local/bin/lib/zig/std",
 "global_cache_dir": "/Users/dev/.cache/zig",
 "version": "0.10.0-dev.2617+47c4d4450"
}
SuperAuguste commented 1 year ago

The latest version (v1.1.3) of the zls-vscode plugin has bugs and can never find zls.

Could you open a new issue about this?