Skip to content
Matt Bauman edited this page Oct 22, 2020 · 8 revisions

Running code

There are various keybindings that run code:

  • Ctrl+Enter: if no code is selected, run the current line in the REPL and advance the cursor to the next line. If code is selected, run the selection in the REPL.
  • Alt+Enter: run the code block that encloses the current cursor position in the REPL and advance the cursor to the next code block.
  • Shift+Enter: run the code cell that encloses the current cursor position in the REPL, and advance the cursor to the beginning of the next cell. Cells are delimited by the special #%% comment on a line by itself.

Replicating Juno shortcuts

If you are used to the keyboard shortcuts in Juno, and wish to replicate them in VS-Code, add the entries from here to your custom keyboard shortcuts file (credit: Sebastian Pfitzner).

Clone this wiki locally