top | item 29913468

(no title)

jsinai | 4 years ago

> As an aside, I really wish the VSCode team did more to integrate iPython REPL more seamlessly into VSCode as that is one of the big blockers for me to using VSCode for anything Python related.

VS recently made big changes to notebooks support [1], and they are now fully integrated into VS with their own Notebooks API. I've been following the changes for the past year on VS Code Insiders and the latest integration is really impressive from a UI and developer point of view. What's more is VS Code lets you easily use notebooks with any language (not just Python). I've had a really good experience so far using Julia kernels.

[1] https://code.visualstudio.com/blogs/2021/11/08/custom-notebo...

discuss

order

_coveredInBees|4 years ago

Thanks for the reply. Unfortunately, I am not looking for a Notebook experience but rather for integration of the IPython REPL shell as the default shell in VSCode so all code is being executed in there and so you can interactively prototype or debug code in an IPython shell. It is insanely more capable and powerful than any other regular Python shell, and without it, VSCode just feels a lot more gimped for Python development. Pycharm otoh is an example of an IDE that absolutely nails IPython shell integration into the IDE.

RobinL|4 years ago

My default way of running snippets of Python code in VS Code is selecting code, and pressing shift+enter (mac) to execute the Python in an interactive window, which (I think?) is an IPython REPL.

Does the PyCharm integration offer something more capable? I'm interested in what I'm missing out on!