JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

cross-invocation state #154

Open JoshCheek opened 4 years ago

JoshCheek commented 4 years ago

Sometimes it's hard to see that it updated, it would be nice to be able to see a number that increments each time it is evaluated.

This would be easy enough if there was a server, but even if not, it could save some state in /tmp or something, and then an editor could provide some unique identifier whenever it submits a file, which would allow it to track which result this is.

Alternatively, might be able to pull it off purely within the editor itself (eg store the state on the buffer or something, and pop up a notice when results are updated), possibly with an incrementing number, or possibly just a quick green "updated" notice.

JoshCheek commented 4 years ago

Example use case: see 13:50 in this video: https://vimeo.com/378152632

"that's still 42... it's not super obvious that I ran it, because nothing changed, but..."