-
Notifications
You must be signed in to change notification settings - Fork 334
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
Issue: hydrogen:clear-results does not clear dock #1067
Comments
This seems like a good idea to me. Adding It should be an easy fix. Interested in making a pull request? |
Can store.kernel.outputStore.clear() be mapped to a keyboard shortcut? If so, that would solve this PR-free. |
Not exactly. You would need a custom command in your init script and even then it would be a bit of a hack and could break if we changed something in the future. I think it's a good point that clearing results should include the output area (I would like it to as a user as well). This change is also the simplest solution to get the custom keyboard shortcut to work so its win-win. |
@lgeiger I am tagging this as "good first issue", let me know if I am wrong about in case i've forgotten something that will come up 🤔. |
Ben, once dock clear is successfully included in hydrogen:clear-results, what should my configs look like in order to combine clear results and execute cell in hydrogen in a single shortcut? See my starting point below - thx in advance. init.coffee keymap.cson |
I'm on mobile at the moment so I'll post a link with an example that is almost the same See also : https://atom.io/docs/api/v1.21.1/CommandRegistry#instance-dispatch Let me know how that goes! |
Thanks Ben - I'll check it out. |
@dsanalytics I sent a PR for this just now. If interested, check our CONTRIBUTING.md to see how to set up a dev version of hydrogen and try it out. I've found hacking on atom to be a really fun way to learn to code. |
Thank you gentlemen! Atom seems to be fast becoming my primary platform for DS! |
How long does it usually take to get package update in Atom through Install in Settings? No huge rush - just asking to learn about the process. |
Good question. Anytime features/fixes are added to the development branch they need to be "shipped" to become available as a release on apm We will ship soon I'm sure, but I really think you should get a development branch working since you seem to have the interest 😀 More on apm release specifics here |
Uhm is this still not implemented? |
Issue: hydrogen:clear-results does not clear dock
Is there a way to clear the dock via keyboard shortcut? hydrogen:clear-results only clears outputs in code, if any, but does not clear the dock if dock is used for results. Thanks in advance for you help.
Windows 10 Home Premium 64bit
Atom 64bit v 1.21.1
Hydrogen 2.0.1
The text was updated successfully, but these errors were encountered: