Android Studio Keyboard Shortcuts

Android Studio keyboard shortcut reference covering 120 bindings for Windows, Mac & Linux. Commonly searched bindings include Project, Version Control, and Run. 120 of 120 shortcuts are verified against official Android Studio documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official Android Studio documentation

Editing

ActionDescriptionWindowsMacVerifiedSource
Displays basic suggestions for variables, types, methods, expressions, and so on. If you call bas… Displays basic suggestions for variables, types, methods, expressions, and so on. If you call basic completion twice in a row, you see more results, including private members and non-imported static members. Ctrl+Space Ctrl+Space Yes Source
Displays relevant options based on the context. Smart completion takes into account the expected … Displays relevant options based on the context. Smart completion takes into account the expected type and data flows. If you call Smart Completion twice in a row, you see more results, including chains. Ctrl+Shift+Space Ctrl+Shift+Space Yes Source
Completes the current statement, adding missing parentheses, brackets, braces, formatting, and so on Completes the current statement, adding missing parentheses, brackets, braces, formatting, and so on. Ctrl+Shift+Enter Cmd+Shift+Enter Yes Source

General

ActionDescriptionWindowsMacVerifiedSource
Save all Ctrl+S Cmd+S Yes Source
Synchronize Ctrl+Alt+Y Cmd+Option+Y Yes Source
Maximize/minimize editor Ctrl+Shift+F12 Ctrl+Cmd+F12 Yes Source
Add to favorites Alt+Shift+F Option+Shift+F Yes Source
Inspect current file with current profile Alt+Shift+I Option+Shift+I Yes Source
Open settings dialog Ctrl+Alt+S Cmd+Option+S Yes Source
Open project structure dialog Ctrl+Alt+Shift+S Cmd Yes Source
Switch between tabs and tool window Ctrl+Tab Ctrl+Tab Yes Source
Find Ctrl+F Cmd+F Yes Source
Find next F3 Cmd+G Yes Source
Find previous Shift+F3 Cmd+Shift+G Yes Source
Replace Ctrl+R Cmd+R Yes Source
Find action Ctrl+Shift+A Cmd+Shift+A Yes Source
Search by symbol name Ctrl+Alt+Shift+N Cmd+Option+O Yes Source
Find class Ctrl+N Cmd+O Yes Source
Find file (instead of class) Ctrl+Shift+N Cmd+Shift+O Yes Source
Find in path Ctrl+Shift+F Cmd+Shift+F Yes Source
Open file structure dialog Ctrl+F12 Cmd+F12 Yes Source
Navigate between open editor tabs Alt+Right Ctrl+Right Yes Source
Jump to source F4 F4 Yes Source
Open current editor tab in new window Shift+F4 Shift+F4 Yes Source
Recently opened files dialog Ctrl+E Cmd+E Yes Source
Recently edited files dialog Ctrl+Shift+E Cmd+Shift+E Yes Source
Go to last edit location Ctrl+Shift+Backspace Cmd+Shift+Delete Yes Source
Close active editor tab Ctrl+F4 Cmd+W Yes Source
Return to editor window from a tool window Escape Escape Yes Source
Hide active or last active tool window Shift+Escape Shift+Escape Yes Source
Go to line Ctrl+G Cmd+L Yes Source
Open type hierarchy Ctrl+H Ctrl+H Yes Source
Open method hierarchy Ctrl+Shift+H Cmd+Shift+H Yes Source
Open call hierarchy Ctrl+Alt+H Ctrl+Option+H Yes Source
Fit to screen Ctrl+0 Cmd+0 Yes Source
Actual size Ctrl+Shift+1 Cmd+Shift+1 Yes Source
Toggle between Design and Blueprint modes B B Yes Source
Toggle between Portrait and Landscape modes O O Yes Source
Toggle devices D D Yes Source
Force refresh R R Yes Source
Toggle render errors panel E E Yes Source
Delete constraints Delete Delete Yes Source
Zoom to fit Ctrl+0 Cmd+0 Yes Source
Go to XML Ctrl+B Cmd+B Yes Source
Select all components Ctrl+A Cmd+A Yes Source
Group into nested graph Ctrl+G Cmd+G Yes Source
Cycle through destinations Tab Tab Yes Source
Select all destinations Ctrl+A Cmd+A Yes Source
Generate code (getters, setters, constructors, hashCode / equals , toString , new file, new class) Alt+Insert Cmd+N Yes Source
Override methods Ctrl+O Ctrl+O Yes Source
Implement methods Ctrl+I Ctrl+I Yes Source
Surround with ( if...else , try...catch , etc.) Ctrl+Alt+T Cmd+Option+T Yes Source
Delete line at caret Ctrl+Y Cmd+Delete Yes Source
Duplicate current line or selection Ctrl+D Cmd+D Yes Source
Basic code completion Ctrl+Space Ctrl+Space Yes Source
Smart code completion (filters the list of methods and variables by expected type) Ctrl+Shift+Space Ctrl+Shift+Space Yes Source
Complete statement Ctrl+Shift+Enter Cmd+Shift+Enter Yes Source
Quick documentation lookup Ctrl+Q Ctrl+J Yes Source
Show parameters for selected method Ctrl+P Cmd+P Yes Source
Go to declaration (directly) Ctrl+B Cmd+B Yes Source
Go to implementations Ctrl+Alt+B Cmd+Option+B Yes Source
Go to supermethod/superclass Ctrl+U Cmd+U Yes Source
Open quick definition lookup Ctrl+Shift+I Cmd+Y Yes Source
Toggle project tool window visibility Alt+1 Cmd+1 Yes Source
Toggle bookmark F11 F3 Yes Source
Toggle bookmark with mnemonic Ctrl+F11 Option+F3 Yes Source
Comment/uncomment with line comment Ctrl+/ Cmd+/ Yes Source
Comment/uncomment with block comment Ctrl+Shift+/ Cmd+Shift+/ Yes Source
Select successively increasing code blocks Ctrl+W Option+Up Yes Source
Decrease current selection to previous state Ctrl+Shift+W Option+Down Yes Source
Move to code block start Ctrl+[ Option+Cmd+[ Yes Source
Move to code block end Ctrl+] Option+Cmd+] Yes Source
Select to the code block start Ctrl+Shift+[ Option+Cmd+Shift+[ Yes Source
Select to the code block end Ctrl+Shift+] Option+Cmd+Shift+] Yes Source
Delete to end of word Ctrl+Delete Option+Delete Yes Source
Delete to start of word Ctrl+Backspace Option+Delete Yes Source
Optimize imports Ctrl+Alt+O Ctrl+Option+O Yes Source
Project quick fix (show intention actions and quick fixes) Alt+Enter Option+Enter Yes Source
Reformat code Ctrl+Alt+L Cmd+Option+L Yes Source
Auto-indent lines Ctrl+Alt+I Ctrl+Option+I Yes Source
Indent/unindent lines Tab Tab Yes Source
Smart line join Ctrl+Shift+J Ctrl+Shift+J Yes Source
Smart line split Ctrl+Enter Cmd+Enter Yes Source
Start new line Shift+Enter Shift+Enter Yes Source
Next/previous highlighted error F2 F2 Yes Source
Build Ctrl+F9 Cmd+F9 Yes Source
Build and run Shift+F10 Ctrl+R Yes Source
Apply changes and restart activity Ctrl+F10 Ctrl+Cmd+R Yes Source
Apply code changes Ctrl+Alt+F10 Ctrl+Cmd+Shift+R Yes Source
Step over F8 F8 Yes Source
Step into F7 F7 Yes Source
Smart step into Shift+F7 Shift+F7 Yes Source
Step out Shift+F8 Shift+F8 Yes Source
Run to cursor Alt+F9 Option+F9 Yes Source
Evaluate expression Alt+F8 Option+F8 Yes Source
Resume program F9 Cmd+Option+R Yes Source
Toggle breakpoint Ctrl+F8 Cmd+F8 Yes Source
View breakpoints Ctrl+Shift+F8 Cmd+Shift+F8 Yes Source
Copy F5 F5 Yes Source
Move F6 F6 Yes Source
Safe delete Alt+Delete Cmd+Delete Yes Source
Rename Shift+F6 Shift+F6 Yes Source
Change signature Ctrl+F6 Cmd+F6 Yes Source
Inline Ctrl+Alt+N Cmd+Option+N Yes Source
Extract method Ctrl+Alt+M Cmd+Option+M Yes Source
Extract variable Ctrl+Alt+V Cmd+Option+V Yes Source
Extract field Ctrl+Alt+F Cmd+Option+F Yes Source
Extract constant Ctrl+Alt+C Cmd+Option+C Yes Source
Extract parameter Ctrl+Alt+P Cmd+Option+P Yes Source
Commit project to VCS Ctrl+K Cmd+K Yes Source
Update project from VCS Ctrl+T Cmd+T Yes Source
View recent changes Alt+Shift+C Option+Shift+C Yes Source
Open VCS dialog Ctrl+V Ctrl+V Yes Source

View

ActionDescriptionWindowsMacVerifiedSource
Project Alt+1 Cmd+1 Yes Source
Version Control Alt+9 Cmd+9 Yes Source
Run Shift+F10 Ctrl+R Yes Source
Debug Shift+F9 Ctrl+D Yes Source
Logcat Alt+6 Cmd+6 Yes Source
Return to Editor Escape Escape Yes Source
Hide All Tool Windows Ctrl+Shift+F12 Cmd+Shift+F12 Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…