title: VS Code execute selection to IPython shell in terminal (no notebook)
body: <p>I wanted to use IPython interactive in VSC (not using a notebook). By using a keybiding for workbench.action.terminal.runSelectedText, I can successfully execute a selection to a python interactive shell, but with iPython it fails to run the cell and I have to change selection to the terminal and press enter.</p>
  <p><a href="https://i.stack.imgur.com/pLuz8.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pLuz8.gif" alt="enter image description here" /></a></p>
  <p>Here's my keybidings.json file:</p>
  <pre><code>[
      {
          &quot;key&quot;: &quot;ctrl+enter&quot;,
          &quot;command&quot;: &quot;workbench.action.terminal.runSelectedText&quot;
      }
  ]
  </code></pre>
  <p>Any help to solve this is much appreciated! Ideally, a keybinding configuration that includes an extra enter.</p>