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

Auto-update when a new version of the zls binary is released #44

Closed SuperAuguste closed 2 years ago

SuperAuguste commented 2 years ago

Self-explanatory;

If anybody wants to implement this, there are multiple paths one could take:

  1. You could store the latest commit and check on restart
  2. You could install the latest zls binary in the background and compare installed and latest's hashes
  3. Implement zls version! (thanks for the big brain idea Luuk :P)

Then there are more implementation details to discuss, but that's the general framework!