Skip to content

Adopt pre-release extension support #8507

Closed

Description

Refs: microsoft/vscode#15756

VS Code now supports pre-release extensions. Docs that should help: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions

I know C++ uses the setting to move users to an insiders version.
This is a bit of a special case since you do not have a separate extension so we do not support migration here. However we suggest that C++ does the following for users that have this settings set:

  • Show a modal dialog or notification to user where she can confirm the transition
  • Once user confirms, execute the command workbench.extensions.installExtension and pass { installPreReleaseVersion: true }
  • Deprecate the setting

Let me know what you think or if I can help somehow.

fyi Bob Brown (@bobbrow) Sandeep Somavarapu (@sandy081)

Activity

  1. bobbrow commented on Dec 9, 2021

    @bobbrow
    Contributor

    Thanks for opening this Isidor Nikolic (@isidorn). It is in our implementation plan for 1.9.0 (which will be the first pre-release), but I think we forgot to create an issue for it so we will use this one.

  2. added this to the On Deck milestone on Dec 9, 2021
  3. Colengms commented on Dec 15, 2021

    @Colengms
    Contributor

    Isidor Nikolic (@isidorn) Could you confirm the format of the call to installExtensions? I have:

    vscode.commands.executeCommand("workbench.extensions.installExtension", "ms-vscode.cpptools", { installPreReleaseVersion: true });
    

    Is there a way to detect if this type of installation has already been configured? We could check if we're currently running an Insiders build, but it's possible the user has already switched and not yet reloaded. (Not critical, but thought I would ask.)

  4. isidorn commented on Dec 15, 2021

    @isidorn
    Author

    Colen Garoutte-Carson (@Colengms) that looks like a correct code snippet. But Sandeep Somavarapu (@sandy081) should also confirm.
    I think there is no way to detect apart from the idea which you already mentioned: check if you are currently running an insiders build.

  5. sandy081 commented on Dec 15, 2021

    @sandy081
    Member

    Command format is correct 👍 and also confirms what Isidor Nikolic (@isidorn) mentioned

  6. added
    fixed
    on Jan 14, 2022
  7. locked and limited conversation to collaborators on Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Feature RequestLanguage Servicefixed

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions