zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.64k stars 2.91k forks source link

"Run All" command in REPL #16961

Open srush opened 1 month ago

srush commented 1 month ago

Check for existing issues

Describe the feature

It will be very useful to have a "Run All" feature in the REPL that runs all the cell blocks individually. You can currently highlight everything but that only runs as if it was a big cell. In my use case I would like to see all the results aligned with the cells of the code.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

haznai commented 1 month ago

I'd also love a restart + run all option. It's easy to forget in which state your application/cell is, so just cleaning the state and re-running everything is killer ux.

i'd argue that things like marimo exist just because jupyter kernels have this ambigous state problem.

awesome job so far on the repl though, i really like my new workflow :)