A bunch of useful keybindings, shortcuts & commands for JetBrains IDEs.
Useful links :
Search everywhere :
Shift -> Shift
Find a command (action) :
Ctrl + Shift + A
Change code tab :
Alt + →
Close current panel :
Ctrl + F4
Close all non-code panels :
Ctrl + Shift + F12
Settings :
Ctrl + Alt + S
Clipboard history :
Ctrl + Shift + V
Show quick documentation / external documentation :
Ctrl + Q
Shift + F1
Search by class / file name :
Ctrl + N
Ctrl + Shift + N
Go to line # :
Ctrl + G
List recent files :
Ctrl + E
Ctrl + Shift + E
Focus the project explorer panel :
Alt + 1
Open the file menu for current file :
Alt + F1
Go to declaration :
Ctrl + B
Find usages :
Alt + F7
Ctrl + Alt + F7
Find next occurrence :
F3
Jump to next issue or error :
F2 (issue)
Shift + F2 (error)
Go back to last edit location :
Ctrl + Shift + Backspace
Extend/shrink selection :
Ctrl + W
Ctrl + Shift + W
Go to next/previous function :
Alt + ↓
Expand / collapse current block :
Ctrl + Numpad+
Ctrl + Numpad-
Open the “File Structure” :
Alt + 7 (Alt + `)
Ctrl + F12
Show code hierarchy :
Ctrl + H
Add bookmark :
F11
Ctrl + F11
Show bookmarks :
Shift + F11
Alt + 2
Quick go to bookmark :
Ctrl + 0-9
Select next occurrence / all occurrences :
Alt + J
Ctrl + Alt + Shift + J
Extend caret to next/previous line :
Ctrl -> Hold Ctrl + ↑
Switch to column selection :
Alt + Shift + Insert
Rectangle selection :
Alt + Shift + Middle Mouse Button
Format code :
Ctrl + Alt + L
Auto-indent :
Ctrl + Alt + I
Clean imports :
Ctrl + Alt + O
Replace :
Ctrl + R
Ctrl + Shift + R
Duplicate line :
Ctrl + D
Move entire block up/down :
Ctrl + Shift + ↓
Move line up/down :
Alt + Shift + ↓
Complete current statement :
Ctrl + Shift + Enter
Surround with (if/for/etc…) :
Ctrl + Alt + T
Insert Live Template / Surround with Live Template :
Ctrl + J
Ctrl + Alt + J
Rename :
Shift + F6
Refactor :
Ctrl + F6
Ctrl + Alt + Shift + T
Extract variable/field/method :
Ctrl + Alt + V
Ctrl + Alt + F
Ctrl + Alt + M
Safe delete :
Alt + Del
Copy / move current file :
F5
F6
Run :
Shift + F10
F10
Run specific tool :
Ctrl -> Ctrl
Build :
Ctrl + F9
Debug :
Shift + F9
F9
Step over / into :
F8
F7
Resume :
F9
Toggle breakpoint :
Ctrl + F8
Commit :
Ctrl + K
Alt + 0 (Alt + à)
Push :
Ctrl + Shift + K
Pull :
Ctrl + T