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

Scratchpad #1094

Closed
Phyks opened this issue Feb 15, 2016 · 4 comments
Closed

Scratchpad #1094

Phyks opened this issue Feb 15, 2016 · 4 comments

Comments

@Phyks
Copy link

Phyks commented Feb 15, 2016

Hi,

Very often, when editing (and debugging) my notebook, I change temporarily the value of a variable. It is not always a good solution to change it in a cell, as I often forget about the temporary change, and could forget to revert it back. My current solution is to have a "scratchpad section" at the end of the notebook, with cells that I only execute to tweak the value of a variable without altering it in its cell, which I expect to remain correct.

What about offering the ability to type some instruction live, in a scratchpad cell (that could be triggered by a shortcut and discarded after execution)?

@eronlloyd
Copy link

Do you wish to have a temporal code cell that is deleted, or are you instead looking for a better way to use inputs to control the code execution? Also, would it be better to instead be able to hide the scratch pad when not in use, but retain its contents as code parameters?

@Phyks
Copy link
Author

Phyks commented Feb 16, 2016

These are two different behaviours which can be discussed. Personnally, I would tend to think the best idea would be to have a "scratchpad" panel, with cells whose code would be retained. A bit like a notebook in a notebook. However, this could be much more difficult and complex to implement and maintain than just a splash input à la "Alt+F2" (usual shortcut to call a launcher for apps in WM for instance).

@Carreau Carreau added this to the wishlist milestone Feb 17, 2016
@Carreau
Copy link
Member

Carreau commented Feb 17, 2016

Interesting idea, I also though about ti a few time. I would expect getting the behavior right and the UI obvious to be harder than expected. That will likeley be more doable once the current Phosphor refactor is done.

@Phyks
Copy link
Author

Phyks commented Mar 18, 2016

I have just found https://github.com/minrk/nbextension-scratchpad which is pretty new, but seems to do just what I wanted. Will give it a try.

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

No branches or pull requests

4 participants