You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to terminalFocus).
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:
This isn't exactly a duplicate of #19400
<#19400> as #19400
<#19400> is taking about the
shortkey and the automatic show/hide of the panel.
All those tickets are of course related but here I'm not only asking for
the "when" context clause. Maybe they can indeed be merged together.
Le 6 sept. 2017 17:23, "Daniel Imms" <notifications@github.com> a écrit :
Ah, I don't think we want to make the shortcuts toggle between the editor and the panels by default but do as described in #19400. You're always free to add your own keybinding tweaks like this though.
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: