All hotkeys for IntelliJ IDEA (macOS)
EditingSmart code completion |
Control + ↑ Shift + Space |
Search and replaceSearch everywhere |
↑ Shift then ↑ Shift |
EditingSmart line split |
⌘ Cmd + ⤶ Enter |
EditingGenerate code |
⌘ Cmd + N |
EditingGenerate code |
Control + ⤶ Enter |
EditingParameter info (within method call arguments) |
⌘ Cmd + P |
Useful shortcutsExtend selection |
⌥ Option + ⌘ Cmd + ↑ |
Useful shortcutsShrink selection |
⌥ Option + ⌘ Cmd + ↓ |
NavigationRecent files popup |
⌘ Cmd + E |
RefactoringRename |
↑ Shift + F6 |
GeneralOpen corresponding tool window |
⌘ Cmd + Num 0 - Num 9 |
GeneralSave all |
⌘ Cmd + S |
GeneralSynchronize |
⌘ Cmd + ⌥ Option + Y |
GeneralToggle maximizing editor |
⌘ Cmd + ↑ Shift + F12 |
GeneralInspect current file with current profile |
⌥ Option + ↑ Shift + I |
GeneralQuick switch current scheme |
Control + § |
GeneralQuick switch current scheme |
Control + ` |
GeneralOpen Settings dialog |
⌘ Cmd + , |
GeneralOpen project structure dialog |
⌘ Cmd + ; |
GeneralFind action |
⌘ Cmd + ↑ Shift + A |
DebuggingStep over |
F8 |
DebuggingStep into |
F7 |
DebuggingSmart step into |
↑ Shift + F7 |
DebuggingSmart step out |
↑ Shift + F8 |
DebuggingRun to cursor |
⌥ Option + F9 |
DebuggingEvaluate expression |
⌥ Option + F8 |
Compile and runSelect configuration and run |
⌘ Cmd + ⌥ Option + R |
DebuggingToggle breakpoint |
⌘ Cmd + F8 |
DebuggingView breakpoints |
⌘ Cmd + ↑ Shift + F8 |
Search and replaceFind |
↑ Shift + F |
Search and replaceFind next |
⌘ Cmd + G |
Search and replaceFind previous |
⌘ Cmd + ↑ Shift + G |
Compile and runRun |
⌘ Cmd + R |
Search and replaceFind in path |
⌘ Cmd + ↑ Shift + F |
Compile and runRun context configuration from editor |
⌘ Cmd + ↑ Shift + R |
Search and replaceSelect next occurence |
Ctrl + G |
Search and replaceSelect all occurences |
Ctrl + ⌘ Cmd + G |
Search and replaceUnselect occurence |
Control + G |
EditingBasic code completion |
Control + Space |
EditingComplete statement |
⌘ Cmd + ↑ Shift + ⤶ Enter |
EditingQuick documentation lookup |
Control + J |
EditingExternal doc |
↑ Shift + F1 |
EditingBrief info |
⌘ Cmd + Mouse movement |
EditingShow descriptions of error at caret |
⌘ Cmd + F1 |
EditingOverride methods |
Control + O |
EditingImplement methods |
Control + I |
EditingSurround with… |
⌘ Cmd + ⌥ Option + T |
EditingComment / uncomment with line comment |
⌘ Cmd + / |
EditingComment / uncomment with block comment |
⌘ Cmd + ⌥ Option + / |
EditingExtend selection |
⌥ Option + ↑ |
EditingShrink selection |
⌥ Option + ↓ |
EditingContext info |
Control + ↑ Shift + Q |
EditingShow intention actions and quick-fixes |
⌥ Option + ⤶ Enter |
EditingReformat code |
⌘ Cmd + ⌥ Option + L |
EditingOptimize imports |
Control + ⌥ Option + O |
EditingAuto-indent line(s) |
Control + ⌥ Option + I |
EditingIndent selected lines |
⭾ Tab |
EditingUnindent selected lines |
↑ Shift + ⭾ Tab |
EditingCut current line to clipboard |
⌘ Cmd + X |
EditingCopy current line to clipboard |
⌘ Cmd + C |
EditingPaste from clipboard |
⌘ Cmd + V |
EditingPaste from recent buffers |
⌘ Cmd + ↑ Shift + V |
Compile and runDebug |
⌘ Cmd + D |
RefactoringSafe delete |
⌘ Cmd + Del |
EditingSmart line join |
Control + ↑ Shift + J |
EditingStart new line |
↑ Shift + ⤶ Enter |
EditingToggle case for word at caret or selected block |
⌘ Cmd + ↑ Shift + U |
EditingSelect till code block end / start |
⌘ Cmd + ↑ Shift + ] |
EditingSelect till code block end / start |
⌘ Cmd + ↑ Shift + [ |
EditingDelete to word end |
⌥ Option + ForwardDel |
EditingDelete to word start |
⌥ Option + Del |
EditingExpand code block |
⌘ Cmd + + |
EditingCollapse code block |
⌘ Cmd + - |
EditingExpand all |
⌘ Cmd + ↑ Shift + + |
EditingCollapse all |
⌘ Cmd + ↑ Shift + - |
EditingClose active editor tab |
⌘ Cmd + W |
RefactoringCopy |
F5 |
RefactoringMove |
F6 |
VCS / Local historyUpdate project from VCS |
⌘ Cmd + T |
RefactoringChange signature |
⌘ Cmd + F6 |
RefactoringInline |
⌘ Cmd + ⌥ Option + N |
RefactoringExtract method |
⌘ Cmd + ⌥ Option + M |
RefactoringExtract variable |
⌘ Cmd + ⌥ Option + V |
RefactoringExtract field |
⌘ Cmd + ⌥ Option + F |
RefactoringExtract constant |
⌘ Cmd + ⌥ Option + C |
RefactoringExtract parameter |
⌘ Cmd + ⌥ Option + P |
NavigationGo to class |
⌘ Cmd + O |
NavigationGo to file |
⌘ Cmd + ↑ Shift + O |
NavigationGo to symbol |
⌘ Cmd + ⌥ Option + O |
NavigationGo to previous / next editor tab |
Control + ← → |
NavigationGo back to previous tool window |
F12 |
NavigationGo to editor (from tool window) |
Esc |
NavigationHide active or last active window |
↑ Shift + Esc |
NavigationGo to line |
⌘ Cmd + L |
NavigationNavigate back/ forward |
⌘ Cmd + ⌥ Option + ← → |
NavigationNavigate to last edit location |
⌘ Cmd + ↑ Shift + Del |
NavigationSelect current file or symbol in any view |
⌥ Option + F1 |
NavigationGo to declaration |
⌘ Cmd + B |
NavigationGo to declaration |
⌘ Cmd + Mouse left click |
NavigationGo to implementation(s) |
⌘ Cmd + ⌥ Option + B |
NavigationOpen quick definition lookup |
⌘ Cmd + Space |
NavigationOpen quick definition lookup |
⌘ Cmd + Y |
NavigationGo to type declaration |
Control + ↑ Shift + B |
NavigationGo to super-method/ super-class |
⌘ Cmd + U |
NavigationGo to previous /next method |
Control + ↑ ↓ |
NavigationMove to code block end |
⌘ Cmd + ] |
NavigationMove to code block start |
⌘ Cmd + [ |
NavigationFile structure popup |
⌘ Cmd + F12 |
NavigationType hierarchy |
Control + H |
NavigationMethod hierarchy |
⌘ Cmd + ↑ Shift + H |
NavigationCall hierarchy |
⌘ Cmd + ⌥ Option + H |
NavigationNext highlighted error |
F2 |
NavigationPrevious highlighted error |
↑ Shift + F2 |
NavigationEdit source |
F4 |
NavigationView source |
⌘ Cmd + ↓ |
NavigationShow navigation bar |
⌥ Option + Home |
NavigationToggle bookmark |
F3 |
NavigationToggle bookmark with mnemonic |
⌥ Option + F3 |
NavigationGo to numbered bookmark |
Control + Num 0 - Num 9 |
NavigationShow bookmarks |
⌘ Cmd + F3 |
Compile and runMake project |
⌘ Cmd + F9 |
Compile and runCompile selected file, package or module |
⌘ Cmd + ↑ Shift + F9 |
Compile and runSelect configuration and debug |
⌘ Cmd + ⌥ Option + D |
Compile and runRun context configuration from editor |
⌘ Cmd + ↑ Shift + D |
Usage searchFind usages |
⌥ Option + F7 |
Usage searchFind usages in file |
⌘ Cmd + F7 |
Usage searchShow usages |
⌘ Cmd + ⌥ Option + F7 |
VCS / Local historyCommit project to VCS |
⌘ Cmd + K |
VCS / Local historyPush commits |
⌘ Cmd + ↑ Shift + K |
VCS / Local history"VCS" quick popup |
Control + V |
Live TemplatesSurround with Live Template |
⌘ Cmd + ⌥ Option + J |
Live TemplatesInsert live template |
⌘ Cmd + J |