Skip to content

Keybindings: Context keys are not up to date #3039

@bpasero

Description

@bpasero

While adding a few new context keys I added during this milestone I noticed that our documentation (raw file) around context keys is missing some newer contexts we added.

@microsoft/vscode I did a quick check over our context keys and here are most of them that are either missing or need review. Please check this out during endgame and see if a key should be added. I do not think we should add each and every key, but some may be useful for users to know:

cancellableOperation
editorTabMovesFocus

canUndo
canRedo
findInputFocussed
replaceInputFocussed
markersNavigationVisible
referenceSearchTreeFocused
hasNextTabstop
hasPrevTabstop
atEndOfWord
hasWordHighlights
accessibilityHelpWidgetVisible
accessibilityModeEnabled
multiCursorModifier
callHierarchyVisible

breadcrumbsPossible
breadcrumbsVisible
breadcrumbsActive

webviewFindWidgetVisible
webviewFindWidgetFocused

terminalA11yTreeFocus
terminalTextSelected
terminalFindWidgetVisible
terminalFindWidgetInputFocused
terminalFindWidgetFocused

taskRunning

commentThreadIsEmpty
commentIsEmpty
commentEditorFocused

searchViewletFocus

problemsViewFocus
problemFocus
problemsFilterFocus
relatedInformationFocus

remoteAuthority
remoteName
remoteConnectionState
remoteFileDialogVisible

There are lots of keys defined in these files too:
src/vs/workbench/contrib/debug/common/debug.ts @isidorn
src/vs/workbench/contrib/search/common/constants.ts @roblourens
src/vs/workbench/contrib/files/common/files.ts @isidorn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions