Android Android Studio suggest change

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