Android Studio (Windows/Linux) Keyboard Shortcuts
by Kekc42 via cheatography.com/39399/cs/12245/
General Writing Code (cont)
Save all Ctrl + S Complete statement Ctrl + Shift + Enter
Synchronize Ctrl + Alt + Y Quick documentation lookup Ctrl + Q
Maximize/minimize editor Ctrl + Shift + F12 Show parameters for selected method Ctrl + P
Add to favorites Alt + Shift + F Go to declaration (directly) Ctrl + B or Ctrl +
Inspect current file with current profile Alt + Shift + I Click
Quick switch scheme Ctrl + ` (backquote) Go to implementations Ctrl + Alt + B
Open settings dialogue Ctrl + Alt + S Go to super-method/super-class Ctrl + U
Open project structure dialog Ctrl + Alt + Shift + S Open quick definition lookup Ctrl + Shift + I
Switch between tabs and tool window Ctrl + Tab Toggle project tool window visibility Alt + 1
Toggle bookmark F11
Refactoring Toggle bookmark with mnemonic Ctrl + F11
Copy F5 Comment/uncomment with line Ctrl + /
Move F6 Comment/uncomment with block Ctrl + Shift + /
Safe delete Alt + Delete Select successively increasing code blocks Ctrl + W
Rename Shift + F6 Decrease current selection to previous state Ctrl + Shift + W
Change signature Ctrl + F6 Move to code block start Ctrl + [
Inline Ctrl + Alt + N Move to code block end Ctrl + ]
Extract method Ctrl + Alt + M Select to the code block start Ctrl + Shift + [
Extract variable Ctrl + Alt + V Select to the code block end Ctrl + Shift + ]
Extract field Ctrl + Alt + F Delete to end of word Ctrl + Delete
Extract constant Ctrl + Alt + C Delete to start of word Ctrl + Backspace
Extract parameter Ctrl + Alt + P Optimize imports Ctrl + Alt + O
Project quick fix (show intention actions and Alt + Enter
Writing Code
quick fixes)
Generate code (getters, setters, etc) Alt + Insert Reformat code Ctrl + Alt + L
Override methods Ctrl + O Auto-indent lines Ctrl + Alt + I
Implement methods Ctrl + I Indent/unindent lines Tab/Shift + Tab
Surround with (if...else / try...catch / etc.) Ctrl + Alt + T Smart line join Ctrl + Shift + J
Delete line at caret Ctrl + Y Smart line split Ctrl + Enter
Collapse/expand current code block Ctrl + Start new line Shift + Enter
minus/plus
Next/previous highlighted error F2 / Shift + F2
Collapse/expand all code blocks Ctrl + Shift +
minus/plus Build and Run
Duplicate current line or selection Ctrl + D
Build Ctrl + F9
Basic code completion Ctrl + Space
Build and run Shift + F10
Smart code completion (filters the list of methods Ctrl + Shift +
Apply changes (with Instant Run) Ctrl + F10
and variables by expected type) Space
By Kekc42 Published 8th July, 2017. Sponsored by Readable.com
cheatography.com/kekc42/ Last updated 8th July, 2017. Measure your website readability!
github.com/kekc42 Page 1 of 2. https://readable.com
Android Studio (Windows/Linux) Keyboard Shortcuts
by Kekc42 via cheatography.com/39399/cs/12245/
Debugging Version Control / Local History
Debug Shift + F9 Commit project to VCS Ctrl + K
Step over F8 Update project from VCS Ctrl + T
Step into F7 View recent changes Alt + Shift + C
Smart step into Shift + F7 Open VCS popup Alt + ` (backquote)
Step out Shift + F8
Run to cursor Alt + F9
Evaluate expression Alt + F8
Resume program F9
Toggle breakpoint Ctrl + F8
View breakpoints Ctrl + Shift + F8
Navigating and Searching Within Studio
Search everything (including code and Press Shift twice
menus)
Find Ctrl + F
Find next F3
Find previous Shift + F3
Replace Ctrl + R
Find action Ctrl + Shift + A
Search by symbol name Ctrl + Alt + Shift + N
Find class Ctrl + N
Find file (instead of class) Ctrl + Shift + N
Find in path Ctrl + Shift + F
Open file structure pop-up Ctrl + F12
Navigate between open editor tabs Alt + Right/Left Arrow
Jump to source F4 / Ctrl + Enter
Open current editor tab in new window Shift + F4
Recently opened files pop-up Ctrl + E
Recently edited files pop-up Ctrl + Shift + E
Go to last edit location Ctrl + Shift +
Backspace
Close active editor tab Ctrl + F4
Return to editor window from a tool window Esc
Hide active or last active tool window Shift + Esc
Go to line Ctrl + G
Open type hierarchy Ctrl + H
Open method hierarchy Ctrl + Shift + H
Open call hierarchy Ctrl + Alt + H
By Kekc42 Published 8th July, 2017. Sponsored by Readable.com
cheatography.com/kekc42/ Last updated 8th July, 2017. Measure your website readability!
github.com/kekc42 Page 2 of 2. https://readable.com