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

Always display results in Output Area #995

Closed
vuki opened this issue Sep 15, 2017 · 5 comments
Closed

Always display results in Output Area #995

vuki opened this issue Sep 15, 2017 · 5 comments
Labels
enhancement 🌟 New feature ideas

Comments

@vuki
Copy link

vuki commented Sep 15, 2017

I don't understand how to configure Atom to use the Output Area pane to display all results. I have checked "Output Area Dock" in options, but results are still displayed in bubbles. If I open the Output Area from the command palette (which requires a lot of typing and can be found only after starting the kernel), then the results are indeed displayed in the Output Area. But if I close and reopen Atom, bubbles are used again.

Is there a way to use the Output Area by default instead of bubbles?

@BenRussert
Copy link
Member

BenRussert commented Sep 15, 2017

There is not a way currently to use the output area by default, what you need to do is search "toggle output area" in the command palette and run, after that your output will be in the output area.

I added a keybinding to my keymap for this reason, ill paste that code here later and maybe add something to the docs about this.

BTW, the "Output Area Dock" option is (my badly named) setting to keep your dock open even if you switch to an editor without a kernel running. I'll have to add something to the docs for this as well, but the hydrogen default is to close the dock if you switch, which can be annoying if you use the dock for another package (like the github package). The setting resolves this problem.

Edit: while I would also like to have this a global option, here is the mentioned keybinding I use in my keymap.cson currently:

'.platform-linux atom-text-editor':
  'alt-o': 'hydrogen:toggle-output-area'

@lgeiger
Copy link
Member

lgeiger commented Sep 15, 2017

@vuki I agree we should add a global setting to configure if the inline bubbles or the external dock should be used.

Would you like to send a PR to fix this? A additional check here will maybe do the job.

@lgeiger lgeiger added the enhancement 🌟 New feature ideas label Sep 17, 2017
@adrianoesch
Copy link

adrianoesch commented Sep 29, 2017

i just watched this talk by bret victors on youtube where he outlines a very compelling argument for instant feedback. from what i've read in this atlantic long-read he was also an inspiration for LightTable. in one of his demos he has a side by side view, which reminded me very much of hydrogen. apart from the fact that it's not side by side and not instantaneous. so i was wondering how much it would take, to get even a little closer to that experience. i'd guess that the loops etc are probably not that easy, but the side by side view and and instant feedback might be feasible, don't you think so? is it possible already? figured this thread might get have the same goal, but not sure.

thank you anyway, love your work!

@rgbkrk
Copy link
Member

rgbkrk commented Sep 30, 2017

The watch expressions will give you instantaneous feedback for every time you run anything in the editor.

BenRussert added a commit to BenRussert/hydrogen that referenced this issue Oct 2, 2017
BenRussert added a commit to BenRussert/hydrogen that referenced this issue Oct 2, 2017
@lgeiger
Copy link
Member

lgeiger commented Oct 15, 2017

Closed by #1022
Thanks @BenRussert for the work.

@lgeiger lgeiger closed this as completed Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🌟 New feature ideas
Projects
None yet
Development

No branches or pull requests

5 participants