Open krystophny opened 5 years ago
You mean, disable both the view output and inline phantom? It's not good to disable the line, because it should disable not only the output views / phantoms but also autocomplete and object inspection. Anyway we should be able to modify Hermes as you suggest. I'll consider it.
BTW, did you try SendCode? It's a very nice package. You can run Jupyter console app in shell (not qtconsole...) and send code snippets to it. It might suite for your workflow more than Hermes.
Thanks for the fast reply! To be able to use inline graphics, I need something like qtconsole.
By now it's working with my hack. I'm now even using the console of JupyterLab in the browser an attach to this session (there's also an option "view output from all client" in newer versions) which gives you an extremely nice workflow, being able to type commands on the go and access all variables.
Of course if one could use Hermes like a real console, i.e. enter commands, this would be a real alternative. But this seems to be a lot more implementation work I guess. Also there seems to be some bug that it doesn't scroll down completely when graphics are shown.
If you don't care about autocomplete or object inspection, your modification will do the trick. I didn't imagine the usage with JupyterLab, but sounds nice.
I don't intend to make this plugin like a real console, because there are already alternatives for that (such as https://github.com/randy3k/Terminus).
Thank you for bug reporting. I'll try to fix.
For those who prefer sending commands to an external qtconsole with settings "ConsoleWidget.include_other_output = True" it would be nice if one could configure Hermes not to display output inside sublime text. One way would be to not call
self._init_receivers()
in kernel.py:264 if this option is used.