Skip to content

Keyboard shortcuts ​

On macOS, use Cmd for the Ctrl shortcuts of the editor.

Files and navigation ​

ShortcutAction
Ctrl+OOpen a file
Alt+InsertNew document
Ctrl+SSave
Ctrl+Shift+SSave as
Ctrl+F4Close the tab
Double ShiftSearch Everywhere
Ctrl+Shift+AFind Action (the actions and commands only)
Ctrl+E / Ctrl+Shift+ERecent files / recent locations
Ctrl+TabSwitch file (hold Ctrl, Tab goes on, release opens)
F11 / Shift+F11Set or remove a bookmark / list the bookmarks
Ctrl+Shift+1…9 / Ctrl+1…9Give the bookmark of the line a number / go to the bookmark with that number
Ctrl+Shift+NGo to file
Ctrl+NGo to symbol (classes, functions and types of the project)
Ctrl+Alt+SSettings
Alt+1Project window
Alt+6Problems window
Alt+7AI Sessions window
Alt+F12 / Ctrl+`Show or hide the terminal

Editing ​

ShortcutAction
Ctrl+W / Ctrl+Shift+WExtend / shrink the selection (word, string, inside the brackets, brackets, line, file)
Ctrl+Shift+JJoin lines
Ctrl+Shift+UToggle case
Alt+Shift+Up / DownMove the line or the selected lines
Ctrl+Shift+Up / DownMove the statement (a line, or a block with its lines)
Alt+J / Alt+Shift+JAdd the next occurrence to the selection / remove the last one
Ctrl+Alt+Shift+JSelect all the occurrences
Alt+Shift+clickAdd or remove a caret
Alt+drag / Alt+Shift+InsertColumn selection (drag with Alt, or switch the mode)
Ctrl+Alt+TSurround with (braces, if, try, quotes… and your templates)
value.if, value.var, value.for…Postfix templates: type a dot and the name after an expression (Settings › Editor › Live Templates)
Ctrl+Alt+V / C / N / MExtract variable / constant, inline variable, extract method (JavaScript, TypeScript)
Ctrl+D / Ctrl+YDuplicate / delete the line (Ctrl+Y redoes right after an undo)
Ctrl+F / Ctrl+RFind / replace in the file
Ctrl+Shift+FFind in the project
F2 / Shift+F2Next / previous problem of the file (errors first)
Ctrl+- / Ctrl+=Fold / unfold

Code intelligence ​

ShortcutAction
Ctrl+SpaceCode completion
Ctrl+PParameter info (also after ( and ,)
Ctrl+QQuick documentation
Ctrl+Shift+IQuick definition
Ctrl+H / Ctrl+Alt+HType hierarchy / call hierarchy (→ opens, ← closes, Tab turns parents into children)
Ctrl+Alt+Shift+TRefactor this (extract, inline… as the language server offers them)
Alt+EnterQuick actions (import…)
Ctrl+B / Ctrl+clickGo to declaration, or list the usages of a declaration
Ctrl+Shift+B / Ctrl+Alt+BGo to the type declaration / implementations
Alt+F7Find usages
Ctrl+F12File structure
Ctrl+Alt+Left / RightBack / forward
Ctrl+Shift+MMatching bracket
Shift+F6Rename
Ctrl+Alt+LReformat code
Ctrl+Alt+Shift+LReformat file…
Ctrl+Alt+OOptimize imports

Running ​

ShortcutAction
Shift+F10 / F5Run
Ctrl+F2Stop (Ctrl+C in the active terminal)

Git ​

ShortcutAction
Ctrl+KCommit
Ctrl+Shift+KPush
Ctrl+TUpdate project (pull)
Alt+0 / Alt+9Commit / Git windows
F7 / Shift+F7Next / previous difference in the diff

Released under the MIT License.