c3lang / vscode-c3

VS Code extension for C3
MIT License
7 stars 1 forks source link

Install / Update automatically versions of LSP #3

Open pherrymason opened 3 weeks ago

pherrymason commented 3 weeks ago

This PR brings two main features:

  1. On start, it will check for c3.lsp.path setting and if not defined, it will provide the user with multiple options to set it up: Use the PATH, set a custom path or Install it.

When selecting Install, the extension will download the binary for the current platform (if available) and install it inside the extension directory.

  1. It will periodically check for updates, allowing to update the LSP if a new version is found.

Note: I've been very much inspired by the zig vscode extension. I ignore if something needs to be done on the licensing side (mention them?)

joshring commented 3 weeks ago

42K lines, that's so much code!

pherrymason commented 3 weeks ago

It's because of the build final javascript code, which could be omited from the repo.

pherrymason commented 3 weeks ago

Removed.