jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Show inline results for "Load Current File" and "Execute Selected" #273

Open sparkofreason opened 7 years ago

sparkofreason commented 7 years ago

Inline results are only shown for "Execute Block". "Execute Selected" shows the result inline for the last block in the selection, and "Load Current File" does not show any inline results. Adding these would provide a nice compromise with Autoeval, giving the user control over what code to execute and when to execute it, while still having inline results.

sparkofreason commented 7 years ago

Have realized that "Load Current File" actually loads the file as it is on disk, not as it is in the buffer. So that probably isn't a good candidate for inline results. Select-all then Execute Selected is fine, so it would be great if Execute Selected showed all results inline.