3 ms·
For python, visual studio code has some of this integration. It still runs a jupyter kernel, but will run "cells" directly from your source code file (where the
by dunham 7y ago
For python, visual studio code has some of this integration. It still runs a jupyter kernel, but will run "cells" directly from your source code file (where the cells are delimited by "# %%" comments) and output to a separate pane with a jupyter-driven repl in it.
I accidentally discovered this after exporting a jupyter notebook to python and opening it in vscode.
- snackematician 7y agoEmacs and Atom also support interacting with running Jupyter kernels when editing scripts ([1], [2]). In a sense, notebook-less Jupyter kernels already are the "LSP for REPLs". [1] https://github.com/dzop/emacs-jupyter https://github.com/dzop/emacs-jupyter [2] https://atom.io/packages/hydrogen https://atom.io/packages/hydrogen
- BSVogler 7y agoPyCharm also has this integration. You can run python files with “#%%” delimiters for cells or Jupyter notebooks. I had issues with scrolling because opening the notebooks results in a split view with editor and notebook rendering.
- pcr910303 7y agoThat's pretty cool! It would have been much better if it didn't need the #%% and just evaluated the top-level structure (like function definition) with jupyter. Still just merging the notebooks into the editor is a big step. :-)