Keymap
This is a list of keyboard shortcuts. Keyboard shortcuts enable users to navigate efficiently in their IDE without reaching to the mouse.
Windows/Linux
Description | Shortcut |
---|---|
Search everywhere |
Double Shift |
Smart code completion |
Ctrl+Shift+Space |
Show intention actions and quick-fixes |
At+Enter |
Open corresponding tool window |
Alt+#[0-9] |
Open Settings dialog |
Ctrl+Alt+S |
Find Action |
Ctrl+Shift+A |
Description | Shortcut |
---|---|
Extend selection |
Ctrl+W |
Shrink selection |
Ctrl+Shift+W |
Toggle bold for selected text |
* |
Toggle emphasize for selected text |
_ |
Toggle monospace font for selected text |
` |
Toggle custom styling for selected text |
# |
Show intention actions and quick-fixes |
Alt+Enter |
Reformat code |
Ctrl+Alt+L |
Auto-indent line(s) |
Ctrl+Alt+I |
Indent/unindent selected lines |
Tab / Shift+Tab |
Cut current line to clipboard |
Ctrl+X,Shift+Delete |
Copy current line to clipboard |
Ctrl+C,Ctrl+Insert |
Paste from clipboard |
Ctrl+V,Shift+Insert |
Duplicate current line |
Ctrl+D |
Delete line at caret |
Ctrl+Y |
Smart line join |
Ctrl+Shift+J |
Smart line split |
Ctrl+Enter |
Start new line |
Shift+Enter |
Toggle case for word at caret or selected block |
Ctrl+Shift+U |
Delete to word end |
Ctrl+Delete |
Delete to word start |
Ctrl+Backspace |
Close active editor tab |
Ctrl+F4 |
Basic code completion |
Ctrl+Space |
Smart code completion |
Ctrl+Shift+Space |
Complete statement |
Ctrl+Shift+Enter |
Quick documentation lookup |
Ctrl+Q |
Brief Info |
Ctrl+mouse |
Expand/collapse block or attribute |
Ctrl+NumPad+ / NumPad- |
Expand/collapse all |
Ctrl+Shift+NumPad+ / NumPad- |
Comment/uncomment with line comment |
Ctrl+/ |
Comment/uncomment with block comment |
Ctrl+Shift+/ |
Select till code block end |
Ctrl+Shift+] |
Select till code block start |
Ctrl+Shift+[ |
Surround with… |
Ctrl+Alt+T |
Description | Shortcut |
---|---|
Go to declaration |
Ctrl+B, Ctrl+Click |
Go to class |
Ctrl+N |
Go to file |
Ctrl+Shift+N |
Go to symbol |
Ctrl+Alt+Shift+N |
Go to next/previous editor tab |
Alt+Right/Left |
Go back to previous tool window |
F12 |
Go to editor (from tool window) |
Esc |
Hide active or last active window |
Shift+Esc |
Go to line |
Ctrl+G |
Find in current file |
Ctrl+F |
Replace in current file |
Ctrl+R |
Rename |
Shift+F6 |
Recent files popup |
Ctrl+E |
Navigate back/forward |
Ctrl+Alt+Left/Right |
Navigate to last edit location |
Ctrl+Shift+Backspace |
Select current file or symbol in any view |
Alt+F1 |
Go to declaration |
Ctrl+B,Ctrl+Click |
File structure popup |
Ctrl+F12 |
Show navigation bar |
Alt+Home |
Toggle bookmark |
F11 |
Toggle bookmark with mnemonic |
Ctrl+F11 |
Go to numbered bookmark |
Ctrl+#[0-9] |
Show bookmarks |
Shift+F11 |
MacOS
Description | Shortcut |
---|---|
Search everywhere |
Double ⇧ |
Smart code completion |
⌃+⇧+Space |
Show intention actions and quick-fixes |
⌘+Enter |
Open corresponding tool window |
⌘0…⌘9 |
Save all |
⌘+S |
Open Settings dialog |
⌘+, |
Find Action |
⌘+⇧+A |
Description | Shortcut |
---|---|
Extend selection |
⌥+Up |
Shrink selection |
⌥+Down |
Toggle bold for selected text |
* |
Toggle emphasize for selected text |
_ |
Toggle monospace font for selected text |
` |
Toggle custom styling for selected text |
# |
Show intention actions and quick-fixes |
⌥+Enter |
Reformat code |
⌘+⌥+L |
Auto-indent line(s) |
⌃+⌥+I |
Indent/unindent selected lines |
Right / ⇧+Right |
Cut current line to clipboard |
⌘+X |
Copy current line to clipboard |
⌘+C |
Paste from clipboard |
⌘+V |
Duplicate current line |
⌘+D |
Delete line at caret |
⌘+Backspace |
Smart line join |
⌃+⇧+J |
Smart line split |
⌘+Enter |
Start new line |
⇧+Enter |
Toggle case for word at caret or selected block |
⌘+⇧+U |
Delete to word start |
⌥+Backspace |
Delete to word end |
⌥+Delete |
Close active editor tab |
⌘+W |
Basic code completion |
^+Space |
Smart code completion |
^+⇧+Space |
Complete statement |
⌘+⇧+Enter |
Quick documentation lookup |
^+J |
Brief Info |
⌘+mouse |
Expand/collapse block or attribute |
⌘+ + / ⌘+- |
Expand/collapse all |
⌘+⇧+ + / ⌘+⇧+- |
Comment/uncomment with line comment |
⌘+/ |
Comment/uncomment with block comment |
⌘⌥/ |
Select till code block end |
⌘+⇧+] |
Select till code block start |
⌘+⇧+[ |
Surround with… |
⌘+⌥+T |
Description | Shortcut |
---|---|
Go to declaration |
⌘+B, ⌘+Click |
Go to class |
⌘+O |
Go to file |
⌘+⇧+O |
Go to symbol |
⌘+⌥+O |
Go to next/previous editor tab |
^+Right/Left |
Go back to previous tool window |
F12 |
Go to editor (from tool window) |
Esc |
Hide active or last active window |
⇧+Esc |
Go to line |
⌘+L |
Find in current file |
⌘+F |
Replace in current file |
⌘+R |
Rename |
⇧+F6 |
Recent files popup |
⌘+E |
Navigate back/forward |
⌘+⌥+Left/Right |
Navigate to last edit location |
⌘+⇧+Backspace |
Select current file or symbol in any view |
⌥+F1 |
Go to declaration |
⌘+B,⌘+Click |
File structure popup |
⌘+F12 |
Show navigation bar |
⌥+Home |
Toggle bookmark |
F3 |
Toggle bookmark with mnemonic |
⌥+F3 |
Go to numbered bookmark |
^0 …^9 |
Show bookmarks |
⌘+F3 |