Skip to content

Allow conditional execution of commands via the API based on a when expression #249741

@joe-p

Description

@joe-p

In #10471 there is a high demand for a getContext command and/or API.

In a previous PR, @jrieken outlined the technical challenges to directly exposing a getContext command. Based on his comment I think the solution here is not directly exposing getContext but instead allowing logic to be executed conditionally based on a when expression.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @jrieken@rzhao271@joe-p@justschen

    Issue actions

      Allow conditional execution of commands via the API based on a when expression · Issue #249741 · microsoft/vscode