Skip to content

Add the ability to pass "post extension install" query parameters #57636

@legomushroom

Description

@legomushroom

To smoothen onboarding experience VSCode extensions users have, we need the ability to pass a query parameter to the protocol handler, and after successful installation, the parameter(s) be passed to the activate function as part of extension context or as a separate argument. This allows extensions to implement the one-click-to-acquisition-and-action experience during onboarding (in case of VS Live Share it will be one-click-install-and-join experience).

  1. URI expample: vscode:extension/MS-vsliveshare.vsliveshare?workspaceId=7F32B1A89D3B88CB9DA59683E89206D810DA
  2. After successfull instalaltion { workspaceId: "7F32B1A89D3B88CB9DA59683E89206D810DA" } can be passed to the activate function as part of the extensionContext or as separate parameter.
  3. Extension reads the params and knows to take the appropriate action.

Ideally, the marketplace will be able to pipe the query parameters too (e.g. https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare&installationParam=7F32B1A89D3B88CB9DA59683E89206D810DA).

Thanks!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions