Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 17796

VS Code execute selection to IPython shell in terminal (no notebook)

$
0
0

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.

enter image description here

Here's my keybidings.json file:

[    {"key": "ctrl+enter","command": "workbench.action.terminal.runSelectedText"    }]

Any help to solve this is much appreciated! Ideally, a keybinding configuration that includes an extra enter.


Viewing all articles
Browse latest Browse all 17796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>