Skip to content

Source Academy Keyboard Shortcuts

Cloud edited this page Jan 18, 2023 · 9 revisions

The following keyboard shortcuts are specific to the Source Academy:

Windows/Linux Mac Action
SHIFT + ENTER SHIFT + ENTER Evaluate current program (same as pressing "Run")
CTRL + B COMMAND + B Bring cursor to declaration or look up online reference for name under cursor
CTRL + M COMMAND + M Modify all occurrences of name under cursor
CTRL + SHIFT + H COMMAND + SHIFT + H Highlight scope of name declaration under cursor
CTRL + SHIFT + M COMMAND + SHIFT + M Display type inforMation for name under cursor

See also: Ace editor default keyboard shortcuts.

The following shortcuts are not listed as shortcuts of Ace or the Source Academy, but are reported as working:

Windows/Linux Mac Action
CTRL + SPACE OPTION + SPACE Trigger autofill suggestions and documentation for text at cursor
CTRL + SHIFT + / COMMAND + SHIFT + / Toggle multiline comment for selection
CTRL + ] CTRL + ] Indent line(s)
CTRL + [ CTRL + [ Outdent line(s)
F2 F2 Toggle block folding for block at cursor
CTRL + Left-Click Insert/remove multicursor or replace multicursor selection
CTRL + Left-Click + Drag Add/replace multicursor selection
ALT + Left-Click + Drag Box selection