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
Last Updated On Aug 3, 2020.
Download Android Studio Keyboard Shortcuts for Offline Study Here: Android Studio Shortcuts.PDF
General Shortcuts:
Navigating and Searching Shortcuts:
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 +– or CTRL ++
Used to Collapse or expand current code block
CTRL +Shift +– or CTRL +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 +B orCTRL +
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
Tab or Shift +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
F2 or Shift +F2
Helps to move to the Next or previous highlighted error
Build and Run Shortcuts:
Debugging Shortcuts:
Refactoring Shortcuts:
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.