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

Add build instructions #21

Closed BinaryWarlock closed 1 year ago

BinaryWarlock commented 3 years ago

The README offers no hint on how to build and install the extension locally.

In addition: How do you package it to a .VSIX?

prime31 commented 3 years ago

The project is made directly from the VS Code extension template. If you open it in VS Code all the default build, watch and packaging tasks are in the usual locations.

fivemoreminix commented 3 years ago

The README offers no hint on how to build and install the extension locally.

In addition: How do you package it to a .VSIX?

Were you able to get the extension installed and working? I am going to improve the install experience.

fivemoreminix commented 3 years ago

@BinaryWarlock On the ZLS wiki, it explains how to download and compile ZLS. There's also a page about configuring it with Visual Studio Code. https://github.com/zigtools/zls/wiki/Downloading-and-Building-ZLS

BinaryWarlock commented 3 years ago

@fivemoreminix I ended up downloading the .VSIX from the extension marketplace (here, "Download Extension" on the right in case anyone is wondering). I can't browse it from within VSCode because I use Codium (see #20).

ZLS was easy to install, I'm just unfamiliar with the VSCode extension build process, so adding a quickstart to the README might benefit people.

fivemoreminix commented 3 years ago

For sure, that would be very helpful.