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