> Zig, by comparison, offered little beyond syntax highlighting and basic autocompletion.
Zig has a language server and "The majority of LSP features are supported" (<a href="https://github.com/zigtools/zls#features" rel="nofollow">https://github.com/zigtools/zls#features).
Zig had a breaking change half year ago and since then ZLS only works for std and local code, not for any deps. Zig is nice language but dev experience is a real nightmare at the moment. I say that as maintainer of three non-trivial libraries, and I have one Zig project in production.
That said, I've been re-evaluating my choices lately.
Learned today why there is no "zig metadata" command.
A dependency can be marked lazy, so whether you even need it depends on the build flags you pass.
So ZLS has to actually run your "build.zig" to see the modules
That is why it breaks when Zig changes the build system.
computerfriend · · focus · HN ↗
Zig has a language server and "The majority of LSP features are supported" (<a href="https://github.com/zigtools/zls#features" rel="nofollow">https://github.com/zigtools/zls#features).
cztomsik · · focus · HN ↗
That said, I've been re-evaluating my choices lately.
functional_dev · · focus · HN ↗
So ZLS has to actually run your "build.zig" to see the modules
That is why it breaks when Zig changes the build system.
<a href="https://vectree.io/c/zigs-build-system-protocol-module-graphs-buildzigzon-and-cargo-metadata" rel="nofollow">https://vectree.io/c/zigs-build-system-protocol-module-graph...