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!
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
Dependencies:
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
cd zls-vscode
vsce package
Finally...
- 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.
Happy Zig-ing!
Initial release!
Added Official Zig Extension independent Zig language detection
Added start, stop, and restart commands
Semantic tokens!
Added debugLog
Added in-editor configuration, for example:
{
"zls.warn_style": true,
"zls.enable_semantic_tokens": false,
"zls.operator_completions": true,
"zls.include_at_in_builtins": false,
}
instead of using zls.json
!
Fix start/stop/restart commands
You can now install zls directly from the extension! Enjoy!
Bug fixes, more streamlined installation