Bridgewater / scala-notebook

Interactive Scala REPL in a browser
Other
741 stars 155 forks source link

Default to Input/Output display rather than overwriting Input #23

Open jegonzal opened 11 years ago

jegonzal commented 11 years ago

For consistency with notebook models like iPython and Mathematica when a cell is evaluated the output should probably not "overwrite" the code by default but instead be displayed below it. This can be toggled after each evaluation using the view interface but the default behavior should be "input/output".

Is there a way to specify this by default as a command line argument?

KenCoder commented 10 years ago

It doesn't overwrite the input, it hides it. You can re-show it using View -> Input/Output. You can also double-click on the blue bar next to the output and it will show the input. If you press Ctrl+Shift+Enter to evaluate, it won't hide the source. You can then move to the next cell with ctrl+shift+downarrow (these are all on Help -> Keyboard shortcuts).

However, I do think it should default to showing the source, and have a per-notebook option to hide

vincentk commented 10 years ago

Like.