General
| Action | Shortcut |
|---|---|
| Save all | ⌘+S |
| Synchronize | ⌘+⌥+Y |
| Maximize/Minimize Editor | ⌃+⌘+F12 |
| Add to favorites | ⌥+⇧+F |
| Inspect current file with current profile | ⌥+⇧+I |
| Quick switch scheme | ⌃+`(backquote) |
| Open settings dialogue | ⌘or(comma) |
| Open project structure dialog | ⌘+;(semicolon) |
| Switch between tabs and tool window | ⌃+Tab |
| Save all | ⌃+S |
| Synchronize | ⌃+⌥+Y |
| Maximize/Minimize Editor | ⌃+⇧+F12 |
| Add to favorites | ⌃+⇧+↑ |
| Inspect current file with current profile | ⌥+⇧+I |
| Quick switch scheme | ⌃(backquote) |
| Open settings dialogue | ⌃+⌥+S |
| Open project structure dialog | ⌃+⌥+⇧+S |
| Switch between tabs and tool window | ⌃+Tab |
Navigating and Searching Within Studio
| Action | Shortcut |
|---|---|
| Search everything (including code and menus) | Press⇧twice |
| Find | ⌘+F |
| Find next | ⌘+G |
| Find previous | ⌘+⇧+G |
| Replace | ⌘+R |
| Find action | ⌘+⇧+A |
| Search by symbol name | ⌘+⌥+O |
| Find class | ⌘+O |
| Find file (instead of class) | ⌘+⇧+O |
| Find in path | ⌘+⇧+F |
| Open file structure pop-up | ⌘+F12 |
| Navigate between open editor tabs | ⌃+⇆ |
| Jump to source | F4/⌘↓ |
| Open current editor tab in new window | ⇧+F4 |
| Recently opened files pop-up | ⌘+E |
| Recently edited files pop-up | ⌘+⇧+E |
| Go to last edit location | ⌘+⇧+Backspace |
| Close active editor tab | ⌘+W |
| Return to editor window from a tool window | Esc |
| Hide active or last active tool window | ⇧+Esc |
| Go to line | ⌘+L |
| Open type hierarchy | ⌃+H |
| Open method hierarchy | ⌘+⇧+H |
| Open call hierarchy | ⌃+⌥+H |
| Search everything (including code and menus) | Press⇧twice |
| Find | ⌃+F |
| Find next | F3 |
| Find previous | ⇧+F3 |
| Replace | ⌃+R |
| Find action | ⌃+⇧+A |
| Search by symbol name | ⌃+⌥+⇧+N |
| Find class | ⌃+N |
| Find file (instead of class) | ⌃+⇧+N |
| Find in path | ⌃+⇧+F |
| Open file structure pop-up | ⌃+F12 |
| Navigate between open editor tabs | ⌥+⇆ |
| Jump to source | F4+/⌃+Enter |
| Open current editor tab in new window | ⇧+F4 |
| Recently opened files pop-up | ⌃+E |
| Recently edited files pop-up | ⌃+⇧+E |
| Go to last edit location | ⌃+⇧+Backspace |
| Close active editor tab | ⌃+F4 |
| Return to editor window from a tool window | Esc |
| Hide active or last active tool window | ⇧+Esc |
| Go to line | ⌃+G |
| Open type hierarchy | ⌃+H |
| Open method hierarchy | ⌃+⇧+H |
| Open call hierarchy | ⌃+⌥+H |
Writing Code
| Action | Shortcut |
|---|---|
| Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class) | ⌘+N |
| Override methods | ⌃+O |
| Implement methods | ⌃+I |
| Surround with (if...else / try...catch / etc.) | ⌘+⌥+T |
| Delete line at caret | ⌘+Backspace |
| Collapse/expand current code block | ⌘minus/plus |
| Collapse/expand all code blocks | ⌘+⇧minus/plus |
| Duplicate current line or selection | ⌘+D |
| Basic code completion | ⌃+Space |
| Smart code completion (filters the list of methods and variables by expected type) | ⌃+⇧+Space |
| Complete statement | ⌘+⇧+↩ |
| Quick documentation lookup | ⌃+J |
| Show parameters for selected method | ⌘+P |
| Go to declaration (directly) | ⌘+Bor⌘Click |
| Go to implementations | ⌘+⌥+B |
| Go to super-method/super-class | ⌘+U |
| Open quick definition lookup | ⌘+Y |
| Toggle project tool window visibility | ⌘+1 |
| Toggle bookmark | F3 |
| Toggle bookmark with mnemonic | ⌥+F3 |
| Comment/uncomment with line comment | ⌘+/ |
| Comment/uncomment with block comment | ⌘+⇧+/ |
| Select successively increasing code blocks | ⌥+Up |
| Decrease current selection to previous state | ⌥+Down |
| Move to code block start | ⌥+⌘+[ |
| Move to code block end | ⌥+⌘+] |
| Select to the code block start | ⌥+⌘+⇧+[ |
| Select to the code block end | ⌥+⌘+⇧+] |
| Delete to end of word | ⌥+Delete |
| Delete to start of word | ⌥+Backspace |
| Optimize imports | ⌃+⌥+O |
| Project quick fix (show intention actions and quick fixes) | ⌥+↩ |
| Reformat code | ⌘+⌥+L |
| Auto-indent lines | ⌃+⌥+I |
| Indent/unindent lines | Tab/⇧Tab |
| Smart line join | ⌃+⇧+J |
| Smart line split | ⌘+↩ |
| Start new line | ⇧+↩ |
| Next/previous highlighted error | F2+/⇧+F2 |
| Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class) | ⌥+Insert |
| Override methods | ⌃+O |
| Implement methods | ⌃+I |
| Surround with (if...else / try...catch / etc.) | ⌃+⌥+T |
| Delete line at caret | ⌃+Y |
| Collapse/expand current code block | ⌃minus/plus |
| Collapse/expand all code blocks | ⌃+⇧minus/plus |
| Duplicate current line or selection | ⌃+D |
| Basic code completion | ⌃+Space |
| Smart code completion (filters the list of methods and variables by expected type) | ⌃+⇧+Space |
| Complete statement | ⌃+⇧+Enter |
| Quick documentation lookup | ⌃+Q |
| Show parameters for selected method | ⌃+P |
| Go to declaration (directly) | ⌃+B+/⌃Clicks |
| Go to implementations | ⌃+⌥+B |
| Go to super-method/super-class | ⌃+U |
| Open quick definition lookup | ⌃+⇧+I |
| Toggle project tool window visibility | ⌥+1 |
| Toggle bookmark | F11 |
| Toggle bookmark with mnemonic | ⌃+F11 |
| Comment/uncomment with line comment | ⌃+/ |
| Comment/uncomment with block comment | ⌃+⇧+/ |
| Select successively increasing code blocks | ⌃+W |
| Decrease current selection to previous state | ⌃+⇧+W |
| Move to code block start | ⌃+[ |
| Move to code block end | ⌃+] |
| Select to the code block start | ⌃+⇧+[ |
| Select to the code block end | ⌃+⇧+] |
| Delete to end of word | ⌃+Delete |
| Delete to start of word | ⌃+Backspace |
| Optimize imports | ⌃+⌥+O |
| Project quick fix (show intention actions and quick fixes) | ⌥+Enter |
| Reformat code | ⌃+⌥+L |
| Auto-indent lines | ⌃+⌥+I |
| Indent/unindent lines | Tab+/⇧+Tab |
| Smart line join | ⌃+⇧+J |
| Smart line split | ⌃+Enter |
| Start new line | ⇧+Enter |
| Next/previous highlighted error | F2+/⇧+F2 |
Build and Run
| Action | Shortcut |
|---|---|
| Build | ⌘+F9 |
| Build and run | ⌃+R |
| Apply changes (with Instant Run) | ⌃+⌘+R |
| Build | ⌃+F9 |
| Build and run | ⇧+F10 |
| Apply changes (with Instant Run) | ⌃+F10 |
Debugging
| Action | Shortcut |
|---|---|
| Debug | ⌃+D |
| Step over | F8 |
| Step into | F7 |
| Smart step into | ⇧+F7 |
| Step out | ⇧+F8 |
| Run to cursor | ⌥+F9 |
| Evaluate expression | ⌥+F8 |
| Resume progra | ⌘+⌥+R |
| Toggle breakpoint | ⌘+F8 |
| View breakpoints | ⌘+⇧+F8 |
| Debug | ⇧+F9 |
| Step over | F8 |
| Step into | F7 |
| Smart step into | ⇧+F7 |
| Step out | ⇧+F8 |
| Run to cursor | ⌥+F9 |
| Evaluate expression | ⌥+F8 |
| Resume progra | F9 |
| Toggle breakpoint | ⌃+F8 |
| View breakpoints | ⌃+⇧+F8 |
Split window
| Action | Shortcut |
|---|---|
| Revert view to single column | ⌥+⇧+1 |
| Split view into two columns | ⌥+⇧+2 |
| Split view into three columns | ⌥+⇧+3 |
| Split view into four columns | ⌥+⇧+4 |
| Set view to grid (4 groups) | ⌥+⇧+5 |
| Split view into two rows | ⌥+⇧+8 |
| Jump to group where num is 1-4 | ⌃[NUM] |
| Move file to specified group where num is 1-4 | ⌃+⇧[NUM] |
| Revert view to single column | ⌥+⇧+1 |
| Split view into two columns | ⌥+⇧+2 |
| Split view into three columns | ⌥+⇧+3 |
| Split view into four columns | ⌥+⇧+4 |
| Set view to grid (4 groups) | ⌥+⇧+5 |
| Split view into two rows | ⌥+⇧+8 |
| Jump to group where num is 1-4 | ⌃[NUM] |
| Move file to specified group where num is 1-4 | ⌃+⇧[NUM] |
Refactoring
| Action | Shortcut |
|---|---|
| Copy | F5 |
| Move | F6 |
| Safe delete | ⌘+Delete |
| Rename | ⇧+F6 |
| Change signature | ⌘+F6 |
| Inline | ⌘+⌥+N |
| Extract method | ⌘+⌥+M |
| Extract variable | ⌘+⌥+V |
| Extract field | ⌘+⌥+F |
| Extract constant | ⌘+⌥+C |
| Extract parameter | ⌘+⌥+P |
| Copy | F5 |
| Move | F6 |
| Safe delete | ⌥+Delete |
| Rename | ⇧+F6 |
| Change signature | ⌃+F6 |
| Inline | ⌃+⌥+N |
| Extract method | ⌃+⌥+M |
| Extract variable | ⌃+⌥+V |
| Extract field | ⌃+⌥+F |
| Extract constant | ⌃+⌥+C |
| Extract parameter | ⌃+⌥+P |
Version Control / Local History
| Action | Shortcut |
|---|---|
| Commit project to VCS | ⌘+K |
| Update project from VCS | ⌘+T |
| View recent changes | ⌥+⇧+C |
| Open VCS popup | ⌃+V |
| Commit project to VCS | ⌃+K |
| Update project from VCS | ⌃+T |
| View recent changes | ⌥+⇧+C |
| Open VCS popup | ⌥(backquote) |
