-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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][plugin] Respect when
condition for vscode plugins
#6015
Comments
It is, but it doesn't respect condition from the GitHub plugin: |
when
condition for vscode pluginswhen
condition for vscode plugins
All preferences contributed by VS Code extensions should be already supported in |
Sound like bug, they should be resolved from here: https://github.com/theia-ide/theia/blob/566ebda6b9ede33984ff0d06044e889b2191c9d7/packages/monaco/src/browser/monaco-frontend-module.ts#L140-L151 You can try to debug it. |
Description
Some vscode extensions have
when
condition provided in hairpacage.json
file, e.g. the vscode github-pull-request extension has such condition in the view contribution: https://github.com/microsoft/vscode-pull-request-github/blob/d91e778705cd5af0785c5a05184ebc550334b409/package.json#L182Since #5855 was applied the plugin view is unavailable.
Reproduction Steps
git
fromtheia/examples/browser/package.json
.plugins
folder in Theia's root and paste the plugin to it.WRONG: The view is unavailable:
OS and Theia version:
Diagnostics:
The text was updated successfully, but these errors were encountered: