keybindingContext for "command palette visible" #4833
Unanswered
vigorouscoding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering what the
IActionDescriptor.keybindingContext
is for "command palette is visible".Motivation: In our application, we are showing a monaco editor in a custom popup, which is closed via the
ESC
key. Users tend to hit the Escape key when they want to dismiss popups in the editor, which leads to the popup being closed.I found, that by adding a custom action with the following keybindingContexts, I was able to circumvent this for those contexts. A big one I was unable to figure out was the command palette. I've tried to find any clue among the hundreds of
RawContextKey
objects but with no luck.==> My main interest ist the keybindingContext value for the command palette (along with the trigger to close the command palette via code).
Any help would be much appreciated!
Our current list is as follows:
Beta Was this translation helpful? Give feedback.
All reactions