When working with a .py file (or some other language file) in the editor and an associated console (opened through right click > "Create Console for Editor"), code can be run by selecting the desired lines and hitting Shift+Enter.
However, sometimes one needs to run everything or - perhaps more importantly - wipe the console's state and run everything. Currently, doing the latter would require starting a new console (and closing the old one), selecting everything (Ctrl+a) and then hitting Shift+Enter (unless I'm missing something?). In particular the first step in this sequence makes this kind of cumbersome.
I think it would be nice if "Run All" and "Restart Kernel and Run All" in the Run menu were supported to handle these cases. Potentially, "Restart Kernel and Run All" could be relabeled as "Restart Console and Run All" when working in an editor. Finally, it could be cool to use something like Ctrl+Shift+Enter as a keyboard shortcut to trigger "Restart Console and Run All".
The text was updated successfully, but these errors were encountered: