Android

Studio!


1
General
9
  Shortcut Key   Description
1 Ctrl+S Save all
2 Ctrl+Alt+Y Synchronize
3 Ctrl+Shift+F12 Maximize / minimize editor
4 Alt+Shift+F Add to favourites
5 Alt+Shift+I Inspect current file with current profile
6 Ctrl+` Quick switch scheme
7 Ctrl+Alt+S Open setting dialogue
8 Ctrl+Alt+Shift+S Open project structure dialogue
9 Ctrl+Tab Switch between tabs and tool window
2
Debugging
10
  Shortcut Key   Description
1 Shift+F9 Debug
2 F8 Step over
3 F7 Step into
4 Shift+F7 Smart step into
5 Shift+F8 Step out
6 Alt+F9 Run to cursor
7 Alt+F8 Evaluate expression
8 F9 Resume program
9 Ctrl+F8 Toggle breakpoint
10 Ctrl+Shift+F8 View breakpoints
3
Build and Run
3
  Shortcut Key   Description
1 Ctrl+F9 Build
2 Shift+F10 Build and run
3 Ctrl+F10 Apply changes (with Instant Run)
4
Version Control / Local History
4
  Shortcut Key   Description
1 Ctrl+K Commit project to VCS
2 Ctrl+T Update project from VCS
3 Alt+` Open VCS popup
4 Alt+Shift+C View recent changes
5
Refactoring
11
  Shortcut Key   Description
1 F5 Copy
2 F6 Move
3 Alt+Delete Safe delete
4 Shift+F6 Rename
5 Ctrl+F6 Change signature
6 Ctrl+Alt+N Inline
7 Ctrl+Alt+M Extract method
8 Ctrl+Alt+V Extract variable
9 Ctrl+Alt+F Extract field
10 Ctrl+Alt+C Extract constant
11 Ctrl+Alt+P Extract parameter
6
Navigating and Searching Within Studio
24
  Shortcut Key   Description
1 Press Shift twice Search everything (including code and menus)
2 Ctrl+F Find
3 F3 Find next
4 Shift+F3 Find previous
5 Ctrl+R Replace
6 Ctrl+Shift+A Find action
7 Ctrl+Alt+Shift+N Search by symbol name
8 Ctrl+N Find class
9 Ctrl+Shift+N Find file (instead of class)
10 Ctrl+Shift+F Find in path
11 Ctrl+F12 Open file structure pop-up
12 Alt+Right / LeftArrow Navigate between open editor tabs
13 F4 / Ctrl+Enter Jump to source
14 Shift+F4 Open current editor tab in new window
15 Ctrl+E Recently opened files pop-up
16 Ctrl+Shift+E Recently edited files pop-up
17 Ctrl+Shift+Backspace Go to last edit location
18 Ctrl+F4 Close active editor tab
19 Esc Return to editor window from a tool window
20 Shift+Esc Hide active or last active tool window
21 Ctrl+G Go to line
22 Ctrl+H Open type hierarchy
23 Ctrl+Shift+H Open method hierarchy
24 Ctrl+Alt+H Open call hierarchy
7
Writing Code
20
  Shortcut Key   Description
1 Alt+Insert Generate code (getters, setters, etc)
2 Ctrl+O Override methods
3 Ctrl+I Implement methods
4 Ctrl+Alt+T Surrond with (if..else / try..catch / etc)
5 Ctrl+Y Delete line at caret
6 Ctrl+- / + Collapse / expand current code block
7 Ctrl+Shift+- / + Collapse / expand all code blocks
8 Ctrl+D Duplicate current line or selection
9 Ctrl+Space Basic code completion
10 Ctrl+Shift+Space Smart code completion (filters the list of methods and variables by expected type)
11 Ctrl+Shift+Enter Complete statement
12 Ctrl+Q Quick documentation lookup
13 Ctrl+P Show paramenters for seleted method
14 Ctrl+B or Ctrl+Click Go to declaration (directly)
15 Ctrl+Alt+B Go to Implementations
17 Ctrl+U Go to super-method / super-class
18 Ctrl+Shift+I Open quick definition lookup
19 Alt+1 Toggle project tool window visibility
20 F11 Toggle bookmark
8
Writing Code 2
20
  Shortcut Key   Description
1 Ctrl+F11 Toggle bookamrk with mnemonic
2 Ctrl+/ Comment / uncomment with line
3 Ctrl+Shift+/ comment / uncomment with block
4 Ctrl+W Select successively increasing code blocks
5 Ctrl+Shift+W Decrease current selection to previous state
6 Ctrl+[ Move to code block start
7 Ctrl+] Move to codde block end
8 Ctrl+Shift+[ Select to the code block start
9 Ctrl+Shift+] Select to the code block end
10 Ctrl+Delete Delete to the end of word
11 Ctrl+Backspace Delete to start of word
12 Ctrl+Alt+O Optimize imports
13 Alt+Enter Project quick fix (show intention actions and quick fixes)
14 Ctrl+Alt+L Reformat code
15 Ctrl+Alt+I Auto-indent lines
16 Tab / Shift+Tab Indent / unindent lines
17 Ctrl+Shift+J Smart line join
18 F2 / Shift+F2 Next / previous highlighted error
19 Ctrl+Enter Smart line split
20 Shift+Enter Start new line