Skip to content

Allow extensions to conditionally register menu contributions based on VSCode version #130796

@firelizzard18

Description

@firelizzard18

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 to testing/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.

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codeunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions