Get the latest tech news

Improving your Zig language server experience


...by adding just a few lines to your <code>build.zig</code>

WARNING: note that if you get ZLS through your editor's package manager, you might need to see how you're expected to provide your config options, as that might differ from the normal procedure described below. This part is more deeply tied to your specific project but the gist is the following: whatever you do to define your main executable / module / library, you do it again in a new step named check. Until we get there, ZLS is filling in the void in a beautiful manner and I'm personally deeply thankful to all the community members who have worked on it over time, starting from the late Alex Naskos.

Get the Android app

Or read this on Hacker News