Editing | |
---|---|
Alt + Enter | Show intention actions and quick-fixes |
Ctrl + P | Parameter info (within method call arguments) |
Ctrl + Q | Quick documentation lookup |
Alt + Insert | Generate code... (Getters, Setters, Constructors) |
Ctrl + I | Implement methods |
Ctrl + W | Select successively increasing code blocks |
Ctrl + Shift + W | Decrease current selection to previous state |
Ctrl + D | Duplicate current line or selected block |
Ctrl + Y | Delete line at caret |
Shift + Enter | Start new line |
Ctrl + Shift + U | Toggle case for word at caret or selected block |
Ctrl + Shift + ] / [ | Select till code block end/start |
Ctrl + Delete | Delete to word end |
Ctrl + Backspace | Delete to word start |
Ctrl + Shift + V | Paste from history |
Debugging | |
F8 | Step over |
F7 | Step into |
Shift + F8 | Step out |
Alt + F8 | Evaluate expression |
F9 | Resume program |
Ctrl + F8 | Toggle breakpoint |
Ctrl+Shift+F8 | View breakpoints |
Search/Replace | |
---|---|
Ctrl + F/R | Find/Replace |
F3/Shift + F3 | Find next/previous |
Ctrl + Shift + F/R | Find/Replace in path |
Usage Search | |
Alt + F7 / Ctrl + F7 | Find usages / Find usages in file |
Ctrl + Shift + F7 | Highlight usages in file |
Ctrl + Alt + F7 | Show usages |
Navigation | |
Ctrl + N | Go to class |
Ctrl + Shift + N | Go to file |
Ctrl + G | Go to line |
Alt + Right/Left | Go to next/previous editor tab |
Ctrl + E | Recent files popup |
Ctrl + Shift + Backspace | Navigate to last edit location |
Ctrl + B or Ctrl + Click | Go to declaration |
Ctrl + Alt + B | Go to implementation(s) |
Ctrl + Shift + I | Open quick definition lookup |
Ctrl + U | Go to super-method/super-class |
Alt + Up/Down | Go to previous/next method |
Ctrl + ] / [ | Move to code block end/start |
F2 / Shift + F2 | Next/previous highlighted error |
F4 / Ctrl + Enter | Edit source / View source |
Refactoring | |
---|---|
F5/F6 | Copy/Move |
Shift + F6 | Rename |
VCS/Local History | |
Ctrl + K | Commit project to VCS |
Ctrl + T | Update project from VCS |
General | |
Double Shift | Search everywhere |
Ctrl + Tab | Switch between tabs and tool window |
Database (Datagrip) | |
Ctrl + Enter | Execute Query / Submit changes |
F4 (on a foreign key) | Open foreign table |
Ctrl + B | Go to declaration / Show source |
Ctrl + Shift + A | Transpose - Flip orientation of columns and rows |
Ctrl + Y | Delete selected row(s) |
Alt + Insert | Add new row |
Ctrl + D | Duplicate selected row(s) |
Alt + Insert | Expand Column list (with cursor on *) |
Shift + F6 | Rename symbol on query |
Ctrl + Shift + Alt + N | Search symbol everywhere |