Android Android Studio edit

Android Studio useful shortcuts

The following are some of the more common/useful shortcuts.

These are based on the default IntelliJ shortcut map. You can switch to other common IDE shortcut maps via File -> Settings -> Keymap -> <Choose Eclipse/Visual Studio/etc from Keymaps dropdown>

ActionShortcut
Format codeCTRL + ALT + L
Add unimplemented methodsCTRL + I
Show logcatALT + 6
BuildCTRL + F9
Build and RunCTRL + F10
FindCTRL + F
Find in projectCTRL+SHIFT + F
Find and replaceCTRL + R
Find and replace in projectCTRL + SHIFT + R
Override methodsCTRL + O
Show projectALT + 1
Hide project - logcatSHIFT + ESC
Collapse allCTRL + SHIFT + NumPad +
View Debug PointsCTRL + SHIFT + F8
Expand allCTRL + SHIFT + NumPad -
Open SettingsALT + s
Select Target (open current file in Project view)ALT + F1 → ENTER
Search EverywhereSHIFT → SHIFT (Double shift)
Code | Surround WithCTRL → ALT + T
Create method form selected codeALT + CTRL

Refactor:

ActionShortcut
Refactor This (menu/picker for all applicable refactor actions of the current element)Mac CTRL + T - Win/Linux CTRL + ALT + T
RenameSHIFT + F6
Extract MethodMac CMD + ALT + M - Win/Linux CTRL + ALT + M
Extract ParameterMac CMD + ALT + P - Win/Linux CTRL + ALT + P
Extract VariableMac CMD + ALT + V - Win/Linux CTRL + ALT + V

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Table Of Contents
8 Android Studio
39 ACRA
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close