-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Make out of sync code more visible #82
Comments
I agree! Pluto has this feature already - a darker bar left of the code input means that the code is not in sync with the output, either because the code has not yet been submitted, or because you just loaded the notebook and the cell has not yet been evaluated: Both of these situations use the same color - this is intentional. The color simply codifies whether the cell is in sync or not. But I agree that this visual change is much too subtle. It might actually be invisible on some monitors. It would be good to make the color more aggressive, although this would make a newly opened notebook look scary. (I'm also thinking of doing special when loading notebooks, nudging users to run all cells.) |
Can you create a separate issue for the "run all modified" suggestion? |
Thanks for pointing this out! I was getting too familiar with the UI to see it myself :) |
When a cell is modified but not run, that corresponds to state that is hidden to the user (the cell code registered in the reactivity DAG is no longer visible). This can easily lead to confusing errors when running other cells.
For example, if I define
a = 42
in one cell, run it, cut-and-paste that into a new cell so that the first cell is now empty, and then run the new cell, I'll get the "Multiple definitions for a" error, because I forgot to re-run the first cell after having cut its code out.It would be helpful to denote cells that have not been run since having been modified by a different color.
It would also be good to have a "run all modified" button and keyboard shortcut. That would guarantee that what you are seeing in your cells is what ran, without having to re-run all cells.issue #83It would also be helpful if when undoing cell edits with Ctrl-Z, the displayed cell color also changes depending on whether it is the code that last ran.
The text was updated successfully, but these errors were encountered: