Editing
Shortcut | Action |
---|---|
Ctrl Space |
Basic code completion |
Alt Enter |
Show intention actions and quick-fixes |
Ctrl P |
Parameter info (within method call arguments) |
Ctrl Q |
Quick documentation lookup |
Ctrl (mouse over code) |
Brief Info |
Alt Insert |
Generate code… (Getters, Setters, Constructors) |
Ctrl O |
Override methods |
Ctrl I |
Implement methods |
Ctrl Alt T |
Surround with…(if..else, try..catch, for, etc.) |
Ctrl / |
Comment/uncomment with line comment |
Ctrl Shift / |
Comment/uncomment with block comment |
Ctrl W |
Select successively increasing code blocks |
Ctrl Shift W |
Decrease current selection to previous state |
Ctrl Alt L |
Reformat code |
Ctrl Alt I |
Auto-indent line(s) |
Ctrl D |
Duplicate current line or selected block |
Ctrl Y |
Delete line at caret |
Ctrl Shift J |
Smart line join (HTML and JavaScript only) |
Ctrl Enter |
Smart line split (HTML and JavaScript only) |
Shift Enter |
Start a new line |
Ctrl Shift U |
Toggle case for word at caret or selected block |
Ctrl Shift [ |
Select till code block start |
Ctrl Shift ] |
Select till code block end |
Ctrl Delete |
Delete to word end |
Ctrl Backspace |
Delete to word start |
Ctrl +/- |
Expand/collapse code block |
Ctrl F4 |
Close active editor tab |
Ctrl Shift V |
Paste from history |
Comments
Related