-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Remote extension will not work if it depends on a local UI one #128375
Comments
Yes, you can't have a (runtime) dependency from a workspace to a UI extension. I assume you added the dependency so that when installing Metal, the user also gets While we're at it. Yes, it would be better if |
Any chance that this can be validated by |
To confirm, this started happening after adding following support in VS Code in 1.58 - Auto disable extensions if their dependencies are disabled. It assumes that cross extension host dependencies are not supported and if an extension is disabled (for eg., by extensionKind) on a given host, then its dependents are too. So in this case, on wsl, since Scala extension is disabled (because it is UI kind), Metal extension is also disabled. @aeschli Lets also get confirmation from @alexdima if the extensions can have cross host dependencies like this. As far as I remember we do not support this given that we do no support any cross ext host API to access other extensions API. So, it would be interesting to know how come the Metal extension got activated on remote (wsl) even when its dependency (Scala) is not enabled on the same host? |
@alexdima confirmed that we support cross host dependencies on following special conditions
So, I think this dependency has to be supported. Hence tagging this as a candidate. |
Does this issue occur when all extensions are disabled?: No
Steps to Reproduce:
It seems that if we have a remote extension and it depends on one declared as
UI
, VS Code will now make it disabled.This basically, makes declaring
extensionKind
useless, since only workspace without it will work currently.Any chance it can be fixed, or should we just make PR to remove
extensionKind
from the Scala syntax extension?Based on discussion in #127067
The text was updated successfully, but these errors were encountered: