Zig Language Server (zls) for VSCode
THIS EXTENSION IS DEPRECATED
Please use https://marketplace.visualstudio.com/items?itemName=ziglang.vscode-zig instead
zls-vscode is a language client extension for
zls, the awesome Zig Language Server.
Simply install the extension from the VS Marketplace or the Extensions tab and you'll be good to go!
Building from source
If you want to build zls yourself, follow the instructions here and then specify the path of the zls binary with the
zls.path option in VSCode!
Building Zig Language Server
Install the VSCode Extensions command line tool, clone this repository and build the VSIX package.
npm install -g @vscode/vsce
git clone https://github.com/zigtools/zls-vscode
- open the Extensions tab in VSCode
- click on the dree dots in the upper right corner of the Extensions tab
- choose "Install from VSIX..." and choose the .vsix file you just created.
Added Official Zig Extension independent Zig language detection
Added start, stop, and restart commands
Added in-editor configuration, for example:
instead of using
Fix start/stop/restart commands
You can now install zls directly from the extension! Enjoy!
Bug fixes, more streamlined installation