-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to auto update Insiders build of extension #2772
Comments
We already have the python file to do this... |
Note: This is not for extension authors. That python file builds the extension. The benefit, is:
Either way, this would be great for in house developers. UX (similar to out of band installs of LS):
|
@luabud /cc |
Will need to consider impact of downloading LS every time we update the extension (e.g. if we update extension every day, then LS will be downloaded every day). See #4323 |
|
Prescribed Solution
Check spec for UX |
Download the development build vsix and install it. VSCODE INSIDERSExpected first session: Insiders is installed first, and then the following message is displayed:
Expected second session: Open user
VSCODE STABLEExpected first session: No such prompt is displayed, user keeps using the stable extension. ON CHANGING CHANNEL MID-SESSIONYou will see the following commands in the command palette which sets the setting to the corresponding channel:
|
I got a language server extraction failure:
|
The prompt says "Please reload the window switching between insiders channel". I would reword that as "Please reload the window to change the insiders channel" (or something; the original sentence doesn't read like an explanation). |
You still get prompted if you already have the setting specified. We should probably skip if it's set. |
Making manual installs workThe problem is if you install via
This will then let |
Suppose a user is using "weekly/daily", and he decides to install an older version of the extension. He would still be forced to use the insiders version of the extension. I don't think we want that either. |
@karrtikr I don't think it can be avoided. If you want to control what version of the extension you want installed you then need to be on the "default" setting to let VS Code handle it for you, otherwise you're handing installation control to us under "weekly" and "daily". |
I have verified that I now have a However... From #2772 (comment) I gather that, when using insiders already, I was supposed to be prompted about what I wanted to do. I was never prompted. It simply used the default setting, "off". That's fine, but if that expected prompt was a requirement for this feature then this issue needs more work. @luabud, what needs to be done here? |
FWIW, Don manually double-checked about the prompt. It worked as expected. I must have been prompted a while back and VS Code still remembered. |
Others have done this microsoft/vscode#15756 (comment)
Updating label to
code health
+enhancement
.I.e. even if not exposed to end users, it would be good for in-house use. Much like out of band LS installs.
The text was updated successfully, but these errors were encountered: