title: Switching focus to Jupyter (IPython) terminal in Visual Studio Code
body: <p>I would like to place the <em>focus</em> from an editor buffer into the IPython terminal using only the keyboard. </p>
  
  <p>I see two approaches, but they both do not seem to work.</p>
  
  <ol>
  <li>Shift the focus from the editor to the terminal using <code>workbench.action.terminal.focusNext</code> or something alike using <code>ctrl+backtick</code>. This seems to be a dead end because all it ever does is shift focus to or activate a terminal in the dedicated terminal buffer at the bottom of all panes. </li>
  <li>Using <code>ctrl+{1...n}</code> to focus on another pane. This works for other editor buffers: I switch the focus to the pane, and the focus goes into the most recent editor buffer. However, this does not work as expected for the IPython terminal: focus does switch to the pane (or group, as it is called in the left vertical side-bar), but does not go into the terminal itself.</li>
  </ol>
  
  <p>This really is unfortunate as in my workflow, I often go forth and back between the editor and the terminal. Of course an alternative is to make a cell in the editor and execute that using <code>shift+enter</code>, but that is less interactive that what I would prefer.</p>
  
  <p>My impression is that the IPython terminal for VSCode is something in-between an editor and a terminal, or that the action is caught in between VSCode and the Jupyter server.</p>
  
  <p>Version info: </p>
  
  <ul>
  <li>Version: 1.32.1 (system setup)</li>
  <li>Commit: 05f146c7a8f7f78e80261aa3b2a2e642586f9eb3</li>
  <li>Date: 2019-03-08T00:51:49.278Z</li>
  <li>Electron: 3.1.3</li>
  <li>Chrome: 66.0.3359.181</li>
  <li>Node.js: 10.2.0</li>
  <li>V8: 6.6.346.32</li>
  <li>OS: Windows_NT x64 6.1.7601</li>
  </ul>