Shortkeys - Add a "when clause" for "focus is in panel" #33672
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
terminal
General terminal issues that don't fall under another label
Hi all, I'm using vscode (1.15.1) for a few days and I've a very good impression about it !
However, I'm writing a simple extension and playing with interactive js shell (debug console) and I missed a keyboard shortcut to jump between text editor and panel.
The solution given in this StackOverflow thread is great for swapping between integrated terminal and code editor, but here I'm not using terminal, but debug console.
So I tried something very similar (using
ctrl+e
(but no matters)) and tried to add 2 rules like that :But this doesn't work: I can focus from the text edition to the panel, but I can't focus back. I figured out after some tests that when the focus is in panel,
editorTextFocus
is still true (in contrary toterminalFocus
).So, to find a solution to my problem, I need a when clause that let me know whether the focus is on panel or not. As far as I can see in vscode'code, I can't find any
RawContextKey
that looks like that.Did I missed something ? (I hope I didn't opened an issue for nothing)
Thanks !
The text was updated successfully, but these errors were encountered: