Skip to content

[FR] Add 'or' logic for when clause contexts #22778

@formulahendry

Description

@formulahendry

In https://code.visualstudio.com/docs/customization/keybindings#_when-clause-contexts , there are and logic like "editorTextFocus && editorLangId == csharp". When I try some like editorLangId == c || editorLangId == cpp || editorLangId == arduino || editorLangId == ini in context menu. It not works. So I guess it is not supported yet. This logic would be very useful. 😄

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitykeybindingsVS Code keybinding issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions