Eve icon indicating copy to clipboard operation
Eve copied to clipboard

No indication on whether codeblock is up to date

Open jonnor opened this issue 9 years ago • 3 comments

When making a change to a code block, one has to Play/evalutate it in order for it to become "active" in the runtime. However there is not much highlighting in the IDE for teachhing this fundamental thing.

Expected: After making a change to a codeblock, there is visual indication that the codeblock is 'changed-but-not-applied'. Bonus if the action I need to take to make it become 'applied' (Play) is highlighted.

jonnor avatar Nov 13 '16 17:11 jonnor

I second the need for this. Would be extremely useful to be made aware of stale code.

nmsmith avatar Nov 20 '16 00:11 nmsmith

My thoughts on this would to be maybe highlight the block somehow, and put a marker on the scroll bar. That way you can see at a glance which blocks are stale.

cmontella avatar Nov 20 '16 04:11 cmontella

That sounds good to me. Would it be a good idea to have a separate run (▶) button appear on a stale code block to update only that block? It may even be worth having a full set of editing controls local to a block: e.g. undo, redo, revert to last version.

On a side note, I understand the semantics of "run" to be about updating the code blocks, so perhaps it should be renamed update (⇧), or even commit?

nmsmith avatar Nov 20 '16 04:11 nmsmith