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

View

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

← All apps on Shortcut Atlas

Loading Shortcut Atlas…