Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration option to disable internal output #52

Open
krystophny opened this issue Oct 29, 2018 · 4 comments
Open

Configuration option to disable internal output #52

krystophny opened this issue Oct 29, 2018 · 4 comments

Comments

@krystophny
Copy link

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.

@ngr-t
Copy link
Collaborator

ngr-t commented Oct 31, 2018

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.

@ngr-t
Copy link
Collaborator

ngr-t commented Oct 31, 2018

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.

@krystophny
Copy link
Author

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.

@ngr-t
Copy link
Collaborator

ngr-t commented Nov 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants