elixir-tools / elixir-tools.vscode

Visual Studio Code extension for Elixir
https://marketplace.visualstudio.com/items?itemName=elixir-tools.elixir-tools
Other
87 stars 9 forks source link

fix(nextls): allow extension to force a download #81

Closed mhanberg closed 4 months ago

mhanberg commented 4 months ago

In the case that the auto updater in Next LS has a bug, this patch allows the extension to force a fresh download through the extension.

It sets a key in the extensions globalState, which is persisted across restarts. If the key isn't there, then it forces the download.

To force a download a second time, you need to increment the key version, which is basically setting a new key to use as a sentinel.

mhanberg commented 4 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mhanberg and the rest of your teammates on Graphite Graphite