-
Notifications
You must be signed in to change notification settings - Fork 29.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
Allow extensions to conditionally register menu contributions based on VSCode version #130796
Comments
I think the recommended way for this would be to either:
I doubt we'd consider a generalized product version feature gate for contribution points |
@connor4312 The goal is to retain support for 1.58. When I tested it on 1.58, I got the following notification:
I had set a breakpoint in |
It looks like proposed api/valid api check is done without
Some users of vscode-go extensions were affected by #130457 and chose to stay with 1.58. We can rely on the microsoft marketplace & vscode to suggest compatible versions to old vs code users temporarily and go forward to adopt 1.59 engine. However, if those users are locked in too long, I worry that it will prevent users of 1.58 from picking up critical bug fixes or other new features. |
Thanks for the info. I think introducing a |
I hope you don't get too upset with me, but I will not work on this:
|
@alexdima I think "in perpetuity" is hyperbole at this point, since we're only trying to support one version back. That being said, I am staying up to date, so my investment is purely in making my best reasonable effort to satisfy a user request. |
I want to add a menu contribution to
testing/item/context
(golang/vscode-go#1590). I also want to support VSCode 1.58 (golang/vscode-go#1688). I would like some way to indicate that the contribution totesting/item/context
should be ignored by VSCode 1.58.I can register the test controller conditionally on
vscode.tests.createTestController
being defined, but AFAIK I cannot conditionally contribute a menu.The text was updated successfully, but these errors were encountered: