-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Currently the vs-code woke extension doesn't manage the installation of woke. Rather, you need to install it yourself and it will use whatever it can find in your $PATH, or what you define in the extension setting woke.executablePath.
There is a disableVersionCheck on the vs-code woke extension that checks that your woke is up to date with the latest version. However, when I ran the VS Code extension on woke 0.9.0 and woke's latest is on version 0.16.0- nothing prompted me to update my woke binary.
Is the disableVersionCheck checking the vs-code woke extension version and not the woke binary version? Do we need a version check on the woke binary as well?
This could create compatibility issues, as well as confusion for why certain feature enhancements are not functional in the extension (if you are running your extension off an old binary woke).
Links/Additional Suggestions:
-
The maintainer is currently open to any improvements to the woke update cycle. See her comment here:Investigate improvements to the woke update cycle within vs-code-extension get-woke/vscode-woke#10
-
This enhancement could involve code changes to get-woke/vscode-woke. This would require forking the repo.
-
Another idea that was discussed was adding a woke argument to update the binary (in source code) and calling that from the vs-woke-extension/adding it to the package.json as a configuration/properties or in the woke.customArgs.
Acceptance Criteria:
Investigate improvements and enhance the woke update cycle:
- Investigate disableVersionCheck - is there a bug in the check? Is it checking the vs-code-extension version or the woke binary version?
- Implement check for woke binary version (if needed), and prompt the user to update if outdated ( disableVersionCheck in the vs-code-woke extension).
- (Stretch) Investigate managing the woke update cycle directly from the extension - Is there a way to automate that when woke binary releases a new version, the vs-code-extension looks for the latest binary? Do we want this automated?