Android Studio Shortcuts (MAC)

Android Studio Shortcuts (MAC)

KEYS
RESULTS
CTRL + R
Build and Run
CMD+O
Find Class
CMD+B
Go to Class Definition
CMD + SHIFT + O
Find file
CTRL + ALT + L
Code reformatting. It has other interesting options as well. For example, optimize imports.
Double Shift
Search everywhere. So you don’t have to open folders to find the files you’re looking for
CMD + P
Show parameters for selected method
OPTION + CMD + O
Search by symbol name
CMD + Backspace
Delete line
CTRL+D
Debug
CTRL + ALT + M
Extract Method
CTRL + ALT + F
Extract Field
CTRL + N
Search code file in project
CTRL + E
Show recent files
CTRL + Shift + E
Search from all files (including xml)
ALT +Enter
Hint for any issue, error, warning etc.
CTRL + Shift + Numpad +
Expand All Functions
CTRL + Shift + Numpad -
Minimize All Functions
CTRL + Shift + F12
Close All Opened Sidebar Menus
Cmd + Shift + T
Generate a test class for the currently open class
CTRL + ALT + O
Organise your imports, and remove anything unused
Shift + Fn + F6
Rename all instances of the selected variable or method name
CMD + down-arrow
Jump to source
CMD + Click
Go directly to the clicked class or method
CTRL + Enter
Generate getters, setters, constructors
Cmd + W
Close the currently open file

Comments

Popular posts from this blog

Integrating ZXing QR Code reader in iPhone / iOS applications

Multiple line of text in UIPickerView

Custom Message extension using Messages SDK - iMessage App store