-
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
Extensions with a onDebugDynamicConfigurations are eagerly activated at startup in v1.50 #108578
Comments
Should be reverted it microsoft/vscode#108578 is a bug, or updated if this is new expected behaviour.
@DanTup correct but we are activating only the type that is needed I assume. If that is the case, we need to get dynamic configs on startup to be able to select the proper one. |
@isidorn it's worse than that - the extensions are activated unconditionally at startup of VS Code. If you install the Dart extension, click File -> Close Folder, then Reload Window you'll see Dart is immediately activated without doing anything (or even having any workspace folder open). |
Assigning to October to investigate more |
@DanTup thanks a lot for reporting this and sorry about the breakage. |
Thanks, will do! |
@isidorn fix looks good to me, thanks! |
Great, thanks for letting us know. Adding verified label. |
In 1.50, any extension that has
onDebugDynamicConfigurations
in its activation events is immediately activated whenopening any projectloading VS Code. This did not happen in v1.49.There's some discussion around this in #96297 / #88230 and my understanding is that they should not be activated so early. This leads to other issues such as language extensions spawning their language servers for every project (whether they should is another issue - but there's no guidance from VS Code on how they should handle this, especially without knowing why they were activated).
The text was updated successfully, but these errors were encountered: