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

[vscode] Implement full Workspace Trust behavior #12318

Open
Tracked by #12010
martin-fleck-at opened this issue Mar 16, 2023 · 0 comments
Open
Tracked by #12010

[vscode] Implement full Workspace Trust behavior #12318

martin-fleck-at opened this issue Mar 16, 2023 · 0 comments
Labels
vscode issues related to VSCode compatibility

Comments

@martin-fleck-at
Copy link
Contributor

Feature Description:

VS Code has support for Workspace Trust to let the user decide whether a specific folder/workspace is trusted and therefore extensions that need to work with the code inside it are allowed to do so. If a workspace is not trusted, it will run in restricted mode, disabling any extensions that do not support restricted mode.

User point of view: https://code.visualstudio.com/docs/editor/workspace-trust
Extension point of view: https://code.visualstudio.com/api/extension-guides/workspace-trust

A first implementation of this API was done in [x] where the goal was to implement the extension API to avoid crashing extensions that use it and to have a preference for it. However, the actual behavior of the Restricted Mode and it's effect on the extension was not was not implemented. However, it does affect quite a lot of areas:

  • Tasks
  • Debugging
  • Workspace settings
  • Extensions
  • Custom UI

The goal of this task is to bring the full Workspace Trust behavior of VS Code into Theia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

1 participant