How to remove non-empty Pluto.jl cell without hassle

I just accidently messed something up terribly, but was not expecting the next cell’s error to be millions of lines long! It froze the page completely, reloading the page would make it unfreeze, but if I scroll down and try to remove/fix the cell, it just white screens and freezes again. There’s a keyboard shortcut to delete empty cells but none for deleting a non-empty one like in Jupyter.

Would it be possible to add a delete button just below the show/hide code button located near the top of the cell? Even better, would it be possible to add a toggle to hide output/errors?

A temporary fix was to use some Chrome extension to remove the output block on click (developer console would be too laggy to enter). But I really hope something more could be done!

Does closing and reopening in safe preview mode let you delete the cell without freezing, before the notebook is run?

2 Likes

I’m new to Pluto, according to the docs it would default to Safe Preview Mode on opening a notebook, however it seems to not be the case when I saved the notebook locally and opened it? There’s no prompt asking me to execute code or whatsoever and everything is already ran.

seems to not be the case when I saved the notebook locally and opened it?
There’s no prompt asking me to execute code or whatsoever and everything is already ran.

Clicking an item in the “recent notebooks” list (in the Pluto starting page)
just opens an already running notebook (not stop and restart).

To start afresh and get the “Safe Preview mode”,
click the cross to the right of the notebook name to stop it,
and only then click on the notebook name to start it.

2 Likes

I see! Thank you very much I’m just too new to this and didn’t even think of this at all. It should work now. However, I do believe a toggle for show/hide output would be a nice idea!

1 Like