================================= Android Studio keyboard shortcuts ================================= First published at 10/8/2017 on https://defkey.com/android-studio-shortcuts Android Studio is a integrated development environment (IDE) for the Android operating system. It's licensed with Apache and can be freely downloaded and used. Android Studio has 108 shortcuts and we have listed all of them below. General ------- Ctrl + S Save all Ctrl + Alt + Y Synchronize Ctrl + Shift + F12 Maximize/minimize editor Alt + Shift + F Add to favorites Alt + Shift + I Inspect current file with current profile Ctrl + ` (backquote) Quick switch scheme Ctrl + Alt + S Open settings dialogue Ctrl + Alt + Shift + S Open project structure dialog Ctrl + Tab Switch between tabs and tool window Navigating and searching ------------------------ Press Shift twice Search everything (including code and menus). Ctrl + F Find F3 Find next Shift + F3 Find previous Ctrl + R Replace Ctrl + Shift + A Find action Ctrl + Alt + Shift + N Search by symbol name Ctrl + N Find class Ctrl + Shift + N Find file (instead of class) Ctrl + Shift + F Find in path Ctrl + F12 Open file structure pop-up Alt + Left arrow / Right arrow Navigate between open editor tabs F4 Jump to source Ctrl + Enter Jump to source Shift + F4 Open current editor tab in new window Ctrl + E Recently opened files pop-up Ctrl + Shift + E Recently edited files pop-up Ctrl + Shift + Backspace Go to last edit location Ctrl + F4 Close active editor tab Esc Return to editor window from a tool window Shift + Esc Hide active or last active tool window Ctrl + G Go to line Ctrl + H Open type hierarchy Ctrl + Shift + H Open method hierarchy Ctrl + Alt + H Open call hierarchy Writing code ------------ Alt + Insert Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class) Ctrl + O Override methods Ctrl + I Implement methods Ctrl + Alt + T Surround with (if...else / try...catch / etc.) Ctrl + Y Delete line at caret Ctrl + - Collapse/expand current code block Ctrl + + Collapse/expand current code block Ctrl + Shift + - Collapse/expand all code blocks Ctrl + Shift + + Collapse/expand all code blocks Ctrl + D Duplicate current line or selection Ctrl + Space Basic code completion Ctrl + Shift + Space Smart code completion (filters the list of methods and variables by expected type) Ctrl + Shift + Enter Complete statement Ctrl + Q Quick documentation lookup Ctrl + P Show parameters for selected method Ctrl + B Go to declaration (directly) Ctrl + Left click Go to declaration (directly) Ctrl + Alt + B Go to implementations Ctrl + U Go to super-method/super-class Ctrl + Shift + I Open quick definition lookup Alt + 1 Toggle project tool window visibility F11 Toggle bookmark Ctrl + F11 Toggle bookmark with mnemonic Ctrl + / Comment/uncomment with line comment Ctrl + Shift + / Comment/uncomment with block comment Ctrl + W Select successively increasing code blocks Ctrl + [ Move to code block start Ctrl + Ğ Ctrl + ] Move to code block end Ctrl + Ü Ctrl + Shift + [ Select to the code block start Ctrl + Shift + Ğ Ctrl + Shift + ] Select to the code block end Ctrl + Shift + Ü Ctrl + Del Delete to end of word Ctrl + Backspace Delete to start of word Ctrl + Alt + O Optimize imports Alt + Enter Project quick fix (show intention actions and quick fixes) Ctrl + Alt + L Reformat code Ctrl + Alt + I Auto-indent lines Tab Indent/unindent lines Shift + Tab Indent/unindent lines Ctrl + Shift + J Smart line join Ctrl + Enter Smart line split Shift + Enter Start new line F2 Next/previous highlighted error Shift + F2 Next/previous highlighted error Build and run ------------- Ctrl + F9 Build Shift + F10 Build and run Ctrl + F10 Apply changes Debugging --------- Shift + F9 Debug F8 Step over F7 Step into Shift + F7 Smart step into Shift + F8 Step out Alt + F9 Run to cursor Alt + F8 Evaluate expression F9 Resume program Ctrl + F8 Toggle breakpoint Ctrl + Shift + F8 View breakpoints Refactoring ----------- F5 Copy F6 Move Alt + Del Safe delete Shift + F6 Rename Ctrl + F6 Change signature Ctrl + Alt + N Inline Ctrl + Alt + M Extract method Ctrl + Alt + V Extract variable Ctrl + Alt + F Extract field Ctrl + Alt + C Extract constant Ctrl + Alt + P Extract parameter Version Control / Local History ------------------------------- Ctrl + K Commit project to VCS Ctrl + T Update project from VCS Alt + Shift + C View recent changes Alt + ` (backquote) Open VCS popup Last modified on(UTC): Thursday, December 26, 2019 Defkey © All rights reserved.