Are you finding the shortcuts for Android Studio? Android Studio provides shortcuts to help you quickly work on documents. Here is the list of all shortcuts that you can use in Android Studio. This post will help you to check and make your Android Studio work faster with Most Used.
Table of Contents
General
Keyboard Shortcuts (Windows)
Menu Description
Save all
ctrl + s
Synchronize
ctrl + alt + y
Maximize/minimize editor
ctrl + shift + f12
Add to favorites
alt + shift + f
Inspect current file with current profile
alt + shift + i
Quick switch scheme
ctrl + `
Open settings dialogue
ctrl + alt + s
Open project structure dialog
ctrl + alt + shift + s
Switch between tabs and tool window
ctrl + tab
Navigating and searching
Keyboard Shortcuts (Windows)
Menu Description
Search everything (including code and menus)
shift shift
Find
ctrl + f
Find next
f3
Find previous
shift + f3
Replace
ctrl + r
Find action
ctrl + shift + a
Search by symbol name
ctrl + alt + shift + n
Find class
ctrl + n
Find file (instead of class)
ctrl + shift + n
Find in path
ctrl + shift + f
Open file structure pop-up
ctrl + f12
Navigate between open editor tabs
alt + right or alt + left
Jump to source
f4 or ctrl + enter
Open current editor tab in new window
shift + f4
Recently opened files pop-up
ctrl + e
Recently edited files pop-up
ctrl + shift + e
Go to last edit location
ctrl + shift + backspace
Close active editor tab
ctrl + f4
Return to editor window from a tool window
esc
Hide active or last active tool window
shift + esc
Go to line
ctrl + g
Open type hierarchy
ctrl + h
Open method hierarchy
ctrl + shift + h
Open call hierarchy
ctrl + alt + h
Viewing layouts
Keyboard Shortcuts (Windows)
Menu Description
Zoom in/out
ctrl + plus or ctrl + minus
Fit to screen
ctrl + 0
Actual size
ctrl + shift + 1
Design tools: Layout Editor
Keyboard Shortcuts (Windows)
Menu Description
Toggle between Design and Blueprint modes
b
Toggle between Portrait and Landscape modes
o
Toggle devices
d
Force refresh
r
Toggle render errors panel
e
Delete constraints
del or ctrl + click
Zoom in
ctrl + plus
Zoom out
ctrl + minus
Zoom to fit
ctrl + 0
Pan
space + click + drag
Go to XML
ctrl + b
Select all components
ctrl + a
Select multiple components
shift + click or ctrl + click
Design tools: Navigation Editor
Keyboard Shortcuts (Windows)
Menu Description
Zoom in
ctrl + plus
Zoom out
ctrl + minus
Zoom to fit
ctrl + 0
Pan
space + click + drag
Go to XML
ctrl + b
Toggle render errors panel
e
Group into nested graph
ctrl + g
Cycle through destinations
tab or shift + tab
Select all destinations
ctrl + a
Select multiple destinations
shift + click or ctrl + click
Writing code
Keyboard Shortcuts (Windows)
Menu Description
Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)
alt + ins
Override methods
ctrl + o
Implement methods
ctrl + i
Surround with (if…else / try…catch / etc.)
ctrl + alt + t
Delete line at caret
ctrl + y
Collapse/expand current code block
ctrl + minus or ctrl + plus
Collapse/expand all code blocks
ctrl + shift + minus or ctrl + shift + plus
Duplicate current line or selection
ctrl + d
Basic code completion
ctrl + space
Smart code completion (filters the list of methods and variables by expected type)
ctrl + shift + space
Complete statement
ctrl + shift + enter
Quick documentation lookup
ctrl + q
Show parameters for selected method
ctrl + p
Go to declaration (directly)
ctrl + b or ctrl + click
Go to implementations
ctrl + alt + b
Go to super-method/super-class
ctrl + u
Open quick definition lookup
ctrl + shift + i
Toggle project tool window visibility
alt + 1
Toggle bookmark
f11
Toggle bookmark with mnemonic
ctrl + f11
Comment/uncomment with line comment
ctrl + /
Comment/uncomment with block comment
ctrl + shift + /
Select successively increasing code blocks
ctrl + w
Decrease current selection to previous state
ctrl + shift + w
Move to code block start
ctrl + [
Move to code block end
ctrl + ]
Select to the code block start
ctrl + shift + [
Select to the code block end
ctrl + shift + ]
Delete to end of word
ctrl + del
Delete to start of word
ctrl + backspace
Optimize imports
ctrl + alt + o
Project quick fix (show intention actions and quick fixes)
Well, there you have it, Android Studio shortcuts list. You might not have known about these shortcuts. If I’ve left important something out in this list, feedback is appreciated and welcome on the Make A Public List.
[…] ← Keyboard shortcuts for Android Studio […]
[…] Keyboard shortcuts for Android Studio […]