News for hackers. Stuff that matters.
Re:Using Python and OCaml in the same Jupyter notebook by dunham on Friday December 20, 2019 @01:11PM (#21846121)
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.

Re:Using Python and OCaml in the same Jupyter notebook by snackematician on Friday December 20, 2019 @01:23PM (#21846249)
Emacs 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

[2] https://atom.io/packages/hydrogen

Re:Using Python and OCaml in the same Jupyter notebook by BSVogler on Friday December 20, 2019 @01:27PM (#21846295)
PyCharm 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.
Re:Using Python and OCaml in the same Jupyter notebook by pcr910303 on Friday December 20, 2019 @01:57PM (#21846522)
That'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. :-)