hydrogen
hydrogen copied to clipboard
Add a "Hydrogen Console"
Hi, it would be amazing if Hydrogen could open a console similar to what jupyterlab does. The way I see it would be like the output area but with an input space at the bottom.
This would allow executing one time code on a remote kernel (docker for example) while staying in atom.
Thanks
This has been added to the Hydrogen Wiki. If you close this issue please remove it from the Hydrogen Wiki.
This is what I went for at first but this does not work for remote kernels.
What I had in mind is more like the "watches" but without the automatic execution. Or a temporary file just to send lines to the kernel and get the results.
Hydrogen allows connecting multiple files to the same kernel. You can put functions/classes in one file, and use the other for more exploratory code.
You can also log in to a Jupyter notebook server via your browser and create/open a notebook. Then you can then connect hydrogen to the already-running kernel, and the notebook web UI will share all variables with hydrogen.
Thank you for the workarounds, the 'exploratory file' is the solution I am using already. I just felt It would be great to have a more 'integrated solution'. And imagining an input zone in the output pane seems interesting to me.
I perfectly understand if this do not align with the project goals. If I find the time I might learn the APIs and try to make a plugin for that.
Debugging remote kernels is painful with Hydrogen. Used your workaround (and still using it) but it still extremely manual, requieres a lot of manipulations.
VScode is far from Hydrogen Level. Pycharm Debugging is way better (but used to lack DataScience tools).
I'm complaining but I'm not propsoing solutions. Just pointing out it is still a huge painpoint for being a top IDE.