Android Studio (Windows/Linux) Cheat Sheet: by Via
Android Studio (Windows/Linux) Cheat Sheet: by Via
Android Studio (Windows/Linux) Cheat Sheet: by Via
Open settings dialogue Ctrl + Alt + S Collapse/expand current code block Ctrl + minus/plus
Open project structure dialog Ctrl + Alt + Shift + Collapse/expand all code blocks Ctrl + Shift +
S minus/plus
Switch between tabs and tool window Ctrl + Tab Duplicate current line or selection Ctrl + D
Basic code completion Ctrl + Space
Refactoring Smart code completion (lters the list Ctrl + Shift + Space
Copy F5 of methods and variables by expected
type)
Move F6
Complete statement Ctrl + Shift + Enter
Safe delete Alt + Delete
Quick documentation lookup Ctrl + Q
Rename Shift + F6
Show parameters for selected method Ctrl + P
Change signature Ctrl + F6
Go to declaration (directly) Ctrl + B or Ctrl + Click
Inline Ctrl + Alt + N
Go to implementations Ctrl + Alt + B
Extract method Ctrl + Alt + M
Go to super-method/super-class Ctrl + U
Extract variable Ctrl + Alt + V
Open quick denition lookup Ctrl + Shift + I
Extract eld Ctrl + Alt + F
Extract constant Ctrl + Alt + C
Extract parameter Ctrl + Alt + P
/web/www.cheatography.com/public/images/cheatography_logo.pdf
Toggle project tool window visibility Alt + 1 Smart line split Ctrl + Enter
Toggle bookmark F11 Start new line Shift + Enter
Toggle bookmark with mnemonic Ctrl + F11 Next/previous highlighted error F2 / Shift + F2
Comment/uncomment with line Ctrl + /
Comment/uncomment with block Ctrl + Shift + / Build and Run
/web/www.cheatography.com/public/images/cheatography_logo.pdf
Navigating and Searching Within Studio Navigating and Searching Within Studio (cont)
Search everything (including code and Press Shift twice Return to editor window from a tool Esc
menus) window
Find Ctrl + F Hide active or last active tool window Shift + Esc
Find next F3 Go to line Ctrl + G
Find previous Shift + F3 Open type hierarchy Ctrl + H
Replace Ctrl + R Open method hierarchy Ctrl + Shift + H
Find action Ctrl + Shift + A Open call hierarchy Ctrl + Alt + H
Search by symbol name Ctrl + Alt + Shift + N
Find class Ctrl + N Version Control / Local History
Find le (instead of class) Ctrl + Shift + N Commit project to VCS Ctrl + K
Open le structure pop-up Ctrl + F12 View recent changes Alt + Shift + C
Navigate between open editor tabs Alt + Right/Left Arrow Open VCS popup Alt + ` (backquote)