månadsarkiv: april 2014

IntelliJ Keyboard Shortcuts

Anatoly Mironov:

I want to use shortcuts. I prefer the IntelliJ keyboard scheme. Which do you use?

Originally posted on Cheat Sheets for Quick Reference:

Command Shortcut
(Visual Studio)
(IntelliJ IDEA/ReSharper 2.x)
Show available quick-fixes and context actions Alt+Enter Alt+Enter
Paste multiple Ctrl+Shift+V
Code cleanup Ctrl+E, C Ctrl+Alt+F
Silent code cleanup Ctrl+E, F Ctrl+Shift+Alt+F
Symbol code completion Ctrl+Space Ctrl+Space
Smart code completion Ctrl+Alt+Space Ctrl+Shift+Space
Import symbol completion Shift+Alt+Space Ctrl+Alt+Space
Complete statement Ctrl+Shift+Enter Ctrl+Shift+Enter
Parameter information Ctrl+Shift+Space Ctrl+P
Quick documentation Ctrl+Shift+F1 Ctrl+Q
Insert live template Ctrl+E, L Ctrl+J
Surround with template Ctrl+E, U Ctrl+Alt+J
Generate code Alt+Insert Alt+Insert
Create file from template Ctrl+Alt+Insert Ctrl+Alt+Insert
Move code up Ctrl+Shift+Alt+Up Ctrl+Shift+Alt+Up
Move code down Ctrl+Shift+Alt+Down Ctrl+Shift+Alt+Down
Move code left Ctrl+Shift+Alt+Left Ctrl+Shift+Alt+Left
Move code right Ctrl+Shift+Alt+Right Ctrl+Shift+Alt+Right
Extend selection Ctrl+Alt+Right Ctrl+W
Shrink selection Ctrl+Alt+Left Ctrl+Shift+W
Duplicate a line or selection Ctrl+D Ctrl+D
Comment with line comment Ctrl+Alt+/ Ctrl+/
Comment with block comment Ctrl+Shift+/ Ctrl+Shift+/
Inspect this Ctrl+Shift+Alt+A Ctrl+Shift+Alt+A
Inspection Results window Ctrl+Alt+V
Turn code analysis on/off Ctrl+Shift+Alt+8 Ctrl+Shift+Alt+8

Navigation and Search

Command Shortcut
(Visual Studio)
(IntelliJ IDEA/ReSharper 2.x)

View original 312 more words