Skip to main content

Shortcuts



Shortcuts

General

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Attach to Process...Ctrl+Alt+F5⌥ ⇧ F5
Debug...Alt+Shift+F9^ ⌥ D
Find Action...Ctrl+Shift+A⌘ ⇧ A
Find UsagesAlt+F7⌥ F7
Generate...Alt+Insert⌘ N
RebuildCtrl+Shift+F9⌘ ⇧ F9
Recent FilesCtrl+E⌘ E
Refactor This...Ctrl+Alt+Shift+T^ T
Reformat CodeCtrl+Alt+L⌘ ⌥ L
Run AnythingDouble CtrlDouble ^
Search EverywhereDouble ShiftDouble ⇧🏅
Select In...Alt+F1⌥ F1
Settings...Ctrl+Alt+S⌘ Comma🏅
Show Intention ActionsAlt+Enter⌥ ⏎
Show Project windowAlt+1⌘ 1🏅
VCS Operations Popup...Alt+`^ V
View Breakpoints...Ctrl+Shift+F8⌘ ⇧ F8

Build Projects

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Build ProjectCtrl+F9⌘ F9
RebuildCtrl+Shift+F9⌘ ⇧ F9

Basic Editing

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Auto-Indent LinesCtrl+Alt+I^ ⌥ I
CopyCtrl+C⌘ C
Copy PathsCtrl+Shift+C⌘ ⇧ C
Copy ReferenceCtrl+Alt+Shift+C⌘ ⌥ ⇧ C
CutCtrl+X⌘ X
Delete LineCtrl+Y⌘ ⌫🏅 Alt+Backspace
Duplicate Line or SelectionCtrl+D⌘ D🏅
Indent SelectionTab
Join LinesCtrl+Shift+J^ ⇧ J
Open Source in New WindowShift+F4⇧ F4
PasteCtrl+V⌘ V
Paste as Plain TextCtrl+Alt+Shift+V⌘ ⌥ ⇧ V
Paste from History...Ctrl+Shift+V⌘ ⇧ V
RedoCtrl+Shift+Z⌘ ⇧ Z
Save AllCtrl+S⌘ S
Scratch FileCtrl+Alt+Shift+Insert⌘ ⇧ N
Start New LineShift+Enter⇧ ⏎🏅
Start New Line Before CurrentCtrl+Alt+Enter⌘ ⌥ ⏎🏅
Toggle CaseCtrl+Shift+U⌘ ⇧ U
UndoCtrl+Z⌘ Z
Unindent Line or SelectionShift+Tab⇧ ⇥

Caret Navigation

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Move Caret to Code Block EndCtrl+]⌘ ⌥ ]
Move Caret to Code Block StartCtrl+[⌘ ⌥ [
Move Caret to Line EndEndEnd
Move Caret to Line StartHomeHome
Move Caret to Matching BraceCtrl+Shift+M^ M
Move Caret to Next WordCtrl+Right⌥ →🏅
Move Caret to Page BottomCtrl+Page Down⌘ Page ↓
Move Caret to Page TopCtrl+Page Up⌘ Page Up
Move Caret to Previous WordCtrl+Left⌥ ←🏅
Move Caret to Text EndCtrl+End⌘ End
Move Caret to Text StartCtrl+Home⌘ Home
Next MethodAlt+Down^ ⇧ ↓
Page DownPage DownPage ↓
Page UpPage UpPage Up
Previous MethodAlt+Up^ ⇧ Up

Select Text

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Down with SelectionShift+Down⇧ ↓
Extend SelectionCtrl+W⌥ Up🏅
Left with SelectionShift+Left⇧ ←
Move Caret to Code Block End with SelectionCtrl+Shift+]⌘ ⌥ ⇧ ]
Move Caret to Code Block Start with SelectionCtrl+Shift+[⌘ ⌥ ⇧ [
Move Caret to Line End with SelectionShift+End⇧ End
Move Caret to Line Start with SelectionShift+Home⇧ Home
Move Caret to Next Word with SelectionCtrl+Shift+Right⌥ ⇧ →
Move Caret to Page Bottom with SelectionCtrl+Shift+Page Down⌘ ⇧ Page ↓
Move Caret to Page Top with SelectionCtrl+Shift+Page Up⌘ ⇧ Page Up
Move Caret to Previous Word with SelectionCtrl+Shift+Left⌥ ⇧ ←
Move Caret to Text End with SelectionCtrl+Shift+End⌘ ⇧ End
Move Caret to Text Start with SelectionCtrl+Shift+Home⌘ ⇧ Home
Page Down with SelectionShift+Page Down⇧ Page ↓
Page Up with SelectionShift+Page Up⇧ Page Up
Right with SelectionShift+Right⇧ →
Select AllCtrl+A⌘ A
Shrink SelectionCtrl+Shift+W⌥ ↓
Up with SelectionShift+Up⇧ Up

Code Folding

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
CollapseCtrl+NumPad -⌘ NumPad -
Collapse AllCtrl+Shift+NumPad -⌘ ⇧ NumPad -
Collapse RecursivelyCtrl+Alt+NumPad -⌘ ⌥ NumPad -
ExpandCtrl+NumPad +⌘ NumPad
Expand AllCtrl+Shift+NumPad +⌘ ⇧ NumPad
Expand RecursivelyCtrl+Alt+NumPad +⌘ ⌥ NumPad
Fold SelectionCtrl+.⌘ .

Multiple carets and selection ranges

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Add Caret to Each Line in SelectionAlt+Shift+G⌥ ⇧ G
Add Selection for Next OccurrenceAlt+J^ G
Add/Remove CaretAlt+Shift+Click⌥ ⇧ Click
Clone Caret AboveDouble Ctrl + UpDouble ⌥ + Up
Clone Caret BelowDouble Ctrl + DownDouble ⌥ + Down
Create Rectangular SelectionAlt+Shift+Middle-Click⌥ ⇧ Middle-Click
Deselect Last OccurrenceAlt+Shift+J^ ⇧ G
Drag to Create Multiple Rectangular SelectionsCtrl+Alt+Shift+Click⌘ ⌥ ⇧ Click
Drag to Create Rectangular SelectionAlt+Click⌥ Click
Select All OccurrencesCtrl+Alt+Shift+J⌘ ^ G
Toggle Column Selection ModeAlt+Shift+Insert⌘ ⇧ 8

Coding Assistance

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Basic CompletionCtrl+Space^ Space
Comment with Block CommentCtrl+Shift+/⌘ ⌥ /
Comment with Line CommentCtrl+/⌘ /
Complete Current StatementCtrl+Shift+Enter⌘ ⇧ ⏎🏅
Generate...Alt+Insert⌘ N
Move Element LeftCtrl+Alt+Shift+Left⌘ ⌥ ⇧ ←
Move Line DownAlt+Shift+Down⌥ ⇧ ↓🏅
Move Line UpAlt+Shift+Up⌥ ⇧ Up🏅
Move Statement DownCtrl+Shift+Down⌘ ⇧ ↓
Move Statement RightCtrl+Alt+Shift+Right⌘ ⌥ ⇧ →
Move Statement UpCtrl+Shift+Up⌘ ⇧ Up
Parameter InfoCtrl+P⌘ P
Quick DocumentationCtrl+QF1
Reformat CodeCtrl+Alt+L⌘ ⌥ L🏅
Second Basic CompletionCtrl+Alt+Space^ ⌥ Space
Show Intention ActionsAlt+Enter⌥ ⏎
Surround With...Ctrl+Alt+T⌘ ⌥ T
Type-Matching CompletionCtrl+Shift+Space^ ⇧ Space

Context Navigation

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
BackCtrl+Alt+Left⌘ [
ForwardCtrl+Alt+Right⌘ ]
Go to Bookmark with DigitCtrl+[digit]^+[digit]
Go to Line/Column...Ctrl+G⌘ L
Go to Next BookmarkN/A
Go to Previous BookmarkN/A
Last Edit LocationCtrl+Shift+Backspace⌘ ⇧ ⌫
Next MethodAlt+Down^ ⇧ ↓
Next OccurrenceCtrl+Alt+Down⌘ ⌥ ↓
Previous MethodAlt+Up^ ⇧ Up
Previous OccurrenceCtrl+Alt+Up⌘ ⌥ Up
Recent FilesCtrl+E⌘ E
Select In...Alt+F1⌥ F1
Select Next TabAlt+Right⌘ ⇧ ]🏅
Select Previous TabAlt+Left⌘ ⇧ [🏅
Show All BookmarksShift+F11⌘ F3🏅
Show Bookmarks windowAlt+2⌘ 2
Show Find windowAlt+3⌘ 3
Show Mnemonic BookmarksCtrl+Shift+F11⌘ ⌥ F3
Show Structure windowAlt+7⌘ 7
SwitcherCtrl+Tab^ ⇥🏅
Toggle Anonymous BookmarkF11F3🏅
Toggle Bookmark with DigitCtrl+Shift+[digit]^⇧+[digit]
Toggle Bookmark with MnemonicCtrl+F11⌥ F3

Find Everything

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
File StructureCtrl+F12⌘ F12🏅
Find Action...Ctrl+Shift+A⌘ ⇧ A
Find in Files...Ctrl+Shift+F⌘ ⇧ F🏅
Find Next / Move to Next OccurrenceF3⌘ G
Find Previous / Move to Previous OccurrenceShift+F3⌘ ⇧ G
Find...Ctrl+F⌘ F
Go to File...Ctrl+Shift+N⌘ ⇧ O
Go to Symbol...Ctrl+Alt+Shift+N⌘ ⌥ O🏅
Next Occurrence of the Word at CaretCtrl+F3
Replace in Files...Ctrl+Shift+R⌘ ⇧ R
Replace...Ctrl+R⌘ R
Search EverywhereDouble ShiftDouble ⇧

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Find UsagesAlt+F7⌥ F7
Go to Declaration or UsagesCtrl+B⌘ B
Go to Implementation(s)Ctrl+Alt+B⌘ ⌥ B
Go to Super MethodCtrl+U⌘ U
Go to TestCtrl+Shift+T⌘ ⇧ T
Go to Type DeclarationCtrl+Shift+B⌘ ⇧ B
Highlight Usages in FileCtrl+Shift+F7⌘ ⇧ F7
Show UsagesCtrl+Alt+F7⌘ ⌥ F7

Code Analysis

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Error DescriptionCtrl+F1⌘ F1
Next Highlighted ErrorF2F2
Previous Highlighted ErrorShift+F2⇧ F2
Run Inspection by Name...Ctrl+Alt+Shift+I⌘ ⌥ ⇧ I
Show Intention Actions Show Context ActionAlt+Enter⌥ ⏎🏅
Show Problems windowAlt+6⌘ 6
Source Code HierarchyCtrl+Alt+H🏅

Run & Debug

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Attach to Process...Ctrl+Alt+F5⌥ ⇧ F5
Debug context configurationShift+F9^ D
Debug...Alt+Shift+F9^ ⌥ D
Edit BreakpointCtrl+Shift+F8⌘ ⇧ F8
Evaluate Expression...Alt+F8⌥ F8
Force Run To CursorCtrl+Alt+F9⌘ ⌥ F9
Force Step IntoAlt+Shift+F7⌥ ⇧ F7
Force Step OverAlt+Shift+F8⌥ ⇧ F8
Quick Evaluate ExpressionCtrl+Alt+F8⌘ ⌥ F8
Resume ProgramF9⌘ ⌥ R
Run AnythingDouble CtrlDouble ^
Run context configurationShift+F10^ R
Run To CursorAlt+F9⌥ F9
Run...Alt+Shift+F10^ ⌥ R
Show Debug windowAlt+5⌘ 5
Show Execution PointAlt+F10⌥ F10
Show Run windowAlt+4⌘ 4
Show Services windowAlt+8⌘ 8
Smart Step IntoShift+F7⇧ F7
Step IntoF7F7
Step OutShift+F8⇧ F8
Step OverF8F8
StopCtrl+F2⌘ F2
Stop Background Processes...Ctrl+Shift+F2⌘ ⇧ F2
Toggle Line BreakpointCtrl+F8⌘ F8
Toggle Temporary Line BreakpointCtrl+Alt+Shift+F8⌘ ⌥ ⇧ F8
View Breakpoints...Ctrl+Shift+F8⌘ ⇧ F8

Refactorings

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Change Signature...Ctrl+F6⌘ F6
Extract Method...Ctrl+Alt+M⌘ ⌥ M🏅
Inline...Ctrl+Alt+N⌘ ⌥ N🏅
Introduce Field...Ctrl+Alt+F⌘ ⌥ F
Introduce Parameter...Ctrl+Alt+P⌘ ⌥ P🏅
Introduce Variable...Ctrl+Alt+V⌘ ⌥ V🏅
Move...F6F6
Refactor This...Ctrl+Alt+Shift+T^ T
Rename...Shift+F6⇧ F6
Safe Delete...Alt+Delete⌘ ⌦

Global VCS Actions

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Commit...Ctrl+K⌘ K
Next ChangeCtrl+Alt+Shift+Down^ ⌥ ⇧ ↓
Previous ChangeCtrl+Alt+Shift+Up^ ⌥ ⇧ Up
Push...Ctrl+Shift+K⌘ ⇧ K
RollbackCtrl+Alt+Z⌘ ⌥ Z
Show Commit windowAlt+0⌘ 0
Show Version Control windowAlt+9⌘ 9
Update ProjectCtrl+T⌘ T
VCS Operations Popup...Alt+`^ V

Differences Viewer

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Accept Left SideCtrl+Alt+R⌘ ^ →
Accept Right SideCtrl+Alt+A⌘ ^ ←
Compare FilesCtrl+D⌘ D
Next DifferenceF7F7
Previous DifferenceShift+F7⇧ F7
Select Opposite Diff PaneCtrl+Shift+Tab^ ⇧ ⇥
Show DiffCtrl+D⌘ D
Show Diff Settings Popup...Ctrl+Shift+D⌘ ⇧ D

Tool Windows

Search:
Description 🔼
Windows & Linux
MacOs
MyShortcut
Focus on EditorEsc🏅
Hide Active Tool WindowShift+Escape⇧ ⎋
Hide All Tool WindowsCtrl+Shift+F12⌘ ⇧ F12
Jump to Last Tool WindowF12F12
Show Bookmarks windowAlt+2⌘ 2
Show Commit windowAlt+0⌘ 0
Show Debug windowAlt+5⌘ 5
Show Find windowAlt+3⌘ 3
Show Problems windowAlt+6⌘ 6
Show Project windowAlt+1⌘ 1
Show Run windowAlt+4⌘ 4
Show Services windowAlt+8⌘ 8
Show Structure windowAlt+7⌘ 7
Show Terminal windowAlt+F12⌥ F12
Show Version Control windowAlt+9⌘ 9
Stretch to BottomCtrl+Alt+Shift+Down^ ⌥ ↓
Stretch to LeftCtrl+Alt+Shift+Left^ ⌥ ←
Stretch to RightCtrl+Alt+Shift+Right^ ⌥ →
Stretch to TopCtrl+Alt+Shift+Up^ ⌥ Up