120+ Android Studio Keyboard Shortcuts – {Easy and Quick Shortcuts}

Android Studio Keyboard Shortcuts:

Android Studio is specially designed for android development where you can build apps for android phones, tablets, and so on. It’s completely free and open-source software. Here we come up with the various list of keyboard shortcuts for Android Studio. Let’s see one by one.

Android Studio
Android Studio

 

Last Updated On Aug 3, 2020.

Download Android Studio Keyboard Shortcuts for Offline Study Here: Android Studio Shortcuts.PDF

General Shortcuts:

Shortcut Function
CTRL+S Used to Save All
CTRL+Alt+Y Synchronize
CTRL+Shift+F12 Used to Maximize or minimize editor
Alt+Shift+F It will Add to favorites
Alt+Shift+I Used to Inspect the current file with the current profile
CTRL+` Used for Quick switch scheme (backquote)
CTRL+Alt+S It will Open settings dialogue
CTRL+Alt+Shift+S This Shortcut will Open project structure dialog
CTRL+Tab UT will Switch between tabs and tool window

Press Shift twice Search everything (including code and menus).

Shortcut Function
CTRL+F It is Used to Find
F3 Used to Find next
Shift+F3 This Shortcut is Used to Find previous
CTRL+R Helps to Replace
CTRL+Shift+A Used to Find action
CTRL+Alt+Shift+N This Shortcut will Search by symbol name
CTRL+N Used to Find a class
CTRL+Shift+N This Shortcut is Used to Find the file (instead of class)
CTRL+Shift+F Used to Find in path
CTRL+F12 It will Open pop-up for a file structure
Alt+← → Used to Navigate between open editor tabs
F4 or CTRL+Enter It will Jump to source
Shift+F4 Used to Open current editor tab in new window
CTRL+E This will Pop-up Recently opened files
CTRL+Shift+E It will Show Recently edited files pop-up
CTRL+Shift+Backspace Used to Go to the last edit location
CTRL+F4 Used to Close active editor tab
Esc It is Used to Return to editor window from a tool window
Shift+Esc Used to Hide active or last active tool window
CTRL+G It is Used to Go to line
CTRL+H It will Open type hierarchy
CTRL+Shift+H Used to Open method hierarchy
Ctrl+Alt+H This Shortcut will Open Call hierarchy

Writing Code Shortcuts:

Shortcut Function
Alt+Insert It will generate code for getters, setters, constructors, hashCode/equals, toString, new file, a new class
CTRL+O Override methods
CTRL+I Used to Implement methods
Ctrl+Alt+T It will surround with if…else / try…catch / etc.
CTRL+Y Used to Delete line at caret
CTRL+orCTRL++ Used to Collapse or expand current code block
CTRL+Shift+orCTRL+Shift++ It is Used to Collapse or expands all code blocks
CTRL+D This Shortcut is Used to Duplicate current line or selection
CTRL+Space Used for Basic code completion
CTRL+Shift+Space It will be Used for Smart code completion which means filters the list of methods and variables by expected type
CTRL+Shift+Enter It will Give Complete statement
CTRL+Q Used for Quick documentation lookup
CTRL+P This Shortcut will Show parameters for the selected method
CTRL+BorCTRL+ This Shortcut will Go to declaration directly
CTRL+Alt+B Go to implementations
CTRL+U Used to Go to super-method or super-class
CTRL+Shift+I It is Used to Open quick definition lookup
Alt+1 This Shortcut will Toggle project tool window visibility
F11 Used to Toggle bookmark
CTRL+F11 It is Used to Toggle bookmark with mnemonic
CTRL+/ It is Used to Comment or uncomments with line comment
CTRL+Shift+/ This Shortcut will Comment or uncomment with block comment
CTRL+W Used to Select successively increasing code blocks
CTRL+[ This will Move to code block start
CTRL+] It is Used to Move to code block end
CTRL+Shift+[ Select to the code block start
CTRL+Shift+] This Shortcut will Select to the code block end
CTRL+Del Used to Delete to end of a word
CTRL+Backspace It is Used to Delete to start of word
CTRL+Alt+O Optimize imports
Alt+Enter Used for Project quick fix. Show intention actions and quick fixes.
CTRL+Alt+L Used to Reformat code
TaborShift+Tab Helps to Indent or unindent lines
CTRL+Shift+J Used for Smart line join
Ctrl+Enter Used to Smart line split
Shift+Enter It will start a new line
F2orShift+F2 Helps to move to the Next or previous highlighted error

Build and Run Shortcuts:

Shortcut Function
CTRL+F9 Build
Shift+F10 Build and run
CTRL+F10 Used to Apply changes

Debugging Shortcuts:

Shortcut Function
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 This Shortcut will Evaluate an expression
F9 It is Used to Resume program
CTRL+F8 Used to Toggle breakpoint
CTRL+Shift+F8 This Shortcut will View breakpoints

Refactoring Shortcuts:

Shortcut Function
F5 Copy
F6 Move
Alt+Del Safe delete
Shift+F6 Rename
CTRL+F6 Used to Change signature
CTRL+Alt+N Inline
CTRL+Alt+M Used for Extract methods
CTRL+Alt+V Used to Extract variable
CTRL+Alt+F It will Extract field
CTRL+Alt+C Used to Extract constant
CTRL+Alt+P This Shortcut will Extract parameter

Version Control or Local History Shortcuts:

Shortcut Function
CTRL+K Used to Commit project to VCS
CTRL+T Helps to Update project from VCS
Alt+Shift+C It is used to view recent changes
Alt+` It will Open VCS popup

In this article, you can learn the shortcut keys for Android Studio. If you think, this article is useful, then leave your feedback in the below comment section.

Leave a Comment