IntelliJ IDEA is an integrated development environment written in Java for developing computer software

Keyboard Shortcuts Link to heading

General Link to heading

ActionWindows/LinuxMacOS
Smart code completion *Ctrl+Shift+Space^⇧Space
Basic code completion *Ctrl+Space^Space
Generate code *Alt+Insert⌘N
Resent files popup *Ctrl+E⌘E
Rename *Shift+F6⇧F6
Toggle maximizing editor *Ctrl+Shift+F12⌘⇧F12
Close active editor tabCtrl+F4⌘W

Search / Replace Link to heading

ActionWindows/LinuxMacOS
Search everywhare *Double ShiftDouble ⇧
Find next / previousF3 / Shift+F3⌘G / ⌘⇧G
ReplaceCtrl+R⌘R
Select next occurrence *Alt+J^G
Select all occurrenceCtrl+Alt+ShiftJ^⌘G
Unselect occurrenceAlt+Shift+J^G

Editing Link to heading

ActionWindows/LinuxMacOS
Extend SelectionCtrl+W⌥Up
Shrink selectionCtrl+Shift+W⌥Down
Inspect current fileAlt+Shift+I⌥⇧I
Open settings dialogCtrl+Alt+S⌘,
Open project dialogCtrl+Alt+Shift+S⌘;
Override methodsCtrl+O^O
Implement methodsCtrl+I^I
Comment / uncomment (line)Ctrl+/⌘/
Comment / uncomment (block)Ctrl+Shift+/⌘⌥/
Reformat codeCtrl+Alt+L⌘⌥L
Optimize importsCtrl+Alt+O^⌥O
Duplicate current lineCtrl+D⌘D
Delete line at caretCtrl+Y⌘⌫
Smart line joinCtrl+Shift+J^⇧J
Toggle case for word or blockCtrl+Shift+U⌘⇧U
Select till code block startCtrl+Shift+[⌘⇧[
Select till code block endCtrl+Shift+]⌘⇧]
Refactoring thisCtrl+Alt+Shift+T^T
ActionWindows/LinuxMacOS
Go to classCtrl+N⌘O
Go to fileCtrl+Shift+N⌘⇧O
Go to editor (from tool window)Esc
Hide active or last tool windowShift+Esc⇧⎋
Go to lineCtrl+G⌘L
Select current file in viewAlt+F1⌥F1
Go to declarationCtrl+B⌘B
Go to implementation(s)Ctrl+Alt+B⌘⌥B
Go to super class/methodCtrl+U⌘U
Go to previous / next methodAlt+Up/Down^Up / ^Down
Show navigation bar *Alt+Home⌥Home
Toggle bookmarkF11F3
Show bookmarksShift+F11⌘F3
Show usagesCtrl+Alt+F7⌘⌥F7

Compile and Run Link to heading

ActionWindows/LinuxMacOS
Make projectCtrl+F9⌘F9
RunShift+F10⌃R
DebugShift+F9^D