Categories
Uncategorized

Code Editor Shortcut Keys

Context: Editor Window

Ctrl+O – Open document (works outside source editor too)
Ctrl+S – Save document
Ctrl+Shift+S – Save All open documents
Ctrl+F4 – Close document

Ctrl+Z, Alt+Backspace – Undo
Ctrl+Y – Redo
Ctrl+X, Shift+Del – Cut
Ctrl+C, Ctrl+Ins – Copy
Ctrl+V, Shift+Ins – Paste
Ctrl+A – Select All

The usual text navigation behaviours with ctrl/shift + arrows/home/end/pageup/pagedown

Alt+], Tab – Indent selection
Alt+[ – Unindent selection

Ctrl++ – Zoom In
Ctrl+- – Zoom Out

Ctrl+F – Find
Ctrl+H – Replace
F3 – Find Next
Shift+F4 – Find Previous
Ctrl+G – Goto line
Alt+M – Goto function

Ctrl+Tab – Next document
Ctrl+Shift+Tab – Previous document (though Stadia currently thinks you’re trying to trigger the platform overlay with Shift+Tab)

Ctrl+Space – Open auto-complete list

Context: Auto-complete List

Tab, Enter – Accept suggestion
Esc – Close
Up, Down – Prev/next suggestion

Context: Find/Replace Panel

F3 – Find Next
Shift+F4 – Find Previous
Alt+R – Replace Next
Alt+A – Replace All
Alt+C – Toggle “Match Case”
Alt+W – Toggle “Match Word”
Esc – Close

Context: Open Dialog

Enter, Click – Open selected document
Ctrl+Enter, Ctrl+Click – Open selected document, but don’t close the dialog (to make opening lots of things easy)
Up, Down – Prev/next document
Esc – Close