Skip to content
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

Test Local Workspace Extensions #208184

Closed
3 tasks done
sandy081 opened this issue Mar 20, 2024 · 3 comments
Closed
3 tasks done

Test Local Workspace Extensions #208184

sandy081 opened this issue Mar 20, 2024 · 3 comments
Assignees
Milestone

Comments

@sandy081
Copy link
Member

sandy081 commented Mar 20, 2024

Ref: #206783

Complexity: 5

Create Issue


You can now have an extension inside a workspace under .vscode/extensions folder and install and enable that extension when you open that workspace.

Set up

  • Enable extensions.experimental.supportWorkspaceExtensions flag and reload window

Testing

  • Open a folder and have an extension under .vscode/extensions folder in the workspace
  • Make sure you see that extension in the workspace recommendations view in extensions viewlet (use @recommended filter)
  • Make sure you can install that extension and is enabled only in that workspace.
  • Make sure you need to trust the workspace to install that extension
  • Test uninstalling that extension works as expected.
  • You can make changes to the extension and they will be picked up on window reload / restarting extensions
  • Test that installing the workspace extension which is not built will not be activated until the extension is built. Extension gets activated automatically when extension is built.
  • Test workspace extensions in a Multi-root workspace. Extensions under .vscode/extensions folder of each root should work as above.
  • Feel free to do any exploratory testing
@gjsjohnmurray
Copy link
Contributor

Does this feature require the workspace to have been Trusted?

@sandy081
Copy link
Member Author

Good point. Yes. workspace needs to be trusted. I will add that in the testing description.

@jrieken
Copy link
Member

jrieken commented Mar 25, 2024

This works great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants