View Original: http://blog.csdn.net/u010818425/article/details/52266195
Key symbols on Mac? :option / alt? :shift? :control? :command? :esc(i) Find/view related search any Content
双击 sft
Current file Find/replace
cmd + F / cmd + R 使用cmd + G,sft + cmd + G,跳到下一个/上一个高亮的变量
Global Find/Replace
sft + cmd + F / sft + cmd + R
Global Search Class
cmd + O
Global Search class/method/Parameter
opt + cmd + O
Open a list of recently accessed files
cmd + E
Class/method references in global project
opt + fn + F7 / cmd + 鼠标点击
Class/method references in the current file
cmd + fn + F7
Method called hierarchy
ctr + opt + H
Viewing the implementation of an interface
opt + cmd + B
Ways to jump to a super class
cmd + U
Jump to the first few lines
cmd + L
Return to last edited position
cmd + [ / ] opt + cmd + ← / →
Structure in the currently edited file quick navigation
cmd + fn + F12
List valid parameters for a series of function methods
cmd + P
Jump to error or warning
fn + F2
View a comment document for a class/method
fn + F1
(ii) Control operation related surround with quick call up If,for,try...catch,while and other surround code
opt + cmd + T
Quickly generate template code blocks, such as If,while,return
cmd + J
Fast generation of Getter/setter methods, construction methods, ToString () methods, etc.
cmd + N
A semicolon is automatically added to the end of the line, and "() {}" is appended to the IF
sft + cmd + enter
Introduce methods that override the parent class
ctr + O
Implementation of introducing an interface or abstract class method
ctr + I
Next intention to guess
opt + return
Inserts the most recently used Clipboard Content selection into the text
sft + cmd + V
Comment and uncomment, comment effect//...
cmd + /
Commenting and canceling comments, commenting on Effects/... ../
opt + cmd + /
Move code up and down
opt + sft + up/down
Transposition of upper and lower lines of code
cmd + sft + up/down
Words or the hump between the jumps
Alt + ← / →
Toggle Case
sft + cmd + U
Toggle File
ctr + tab
Select Area
opt + up/down 注:如果光标停留在大括号处,则选中整个大括号区域
Local code block expansion/contraction
cmd + + / cmd + -
All code blocks expand/Shrink
sft + cmd + + / sft + cmd + -
Revoke/Cancel Revocation
cmd + Z / sft + cmd +Z
Delete Row
cmd + C / cmd + delete
Copy rows
cmd + D
Merge rows
sft + ctr + J
Column editing
Alt + 鼠标框选
Formatting code
opt + cmd + L
Auto indent Alignment
ctr + alt + I
Clear Invalid Package reference
opt + ctr + O
Open settings
cmd + ,
Hide Window
sft + esc
(c) Code refactoring related class name/method name/variable name rename operation
sft + fn + F6
Method Reconstruction, method extraction
opt + cmd + M
Extraction Method Parameters
opt + cmd + P
Extraction as local variable
opt + cmd + V
Pull away as member variable
opt + cmd + F
(d) Compile and run debug compile source code
cmd + fn + F9
Run
ctr + R
Debugging
ctr + B
Step into (enter into code)
fn + F7
Step Over (skip to next step)
fn + F8
Run directly
opt + cmd + R
Exit debugging
cmd + fn + F2
(v) version control open git action list
ctr + V
Submit Changes
cmd + K
Push to server
sft + cmd + K
(vi) VIM plugin
- Vim Use reference 1
- Vim Use reference 2
- Vim Use reference 3
Learn more about Android Studio's all-in-one shortcut key and demonstrate the easy-to-use shortcuts on Android Studio Androidstudio shortcut Rollup Android Studio Five minutes take you from rookie to advanced debug as Skill collection "Common Tips"
View Original: http://blog.csdn.net/u010818425/article/details/52266195
Android Studio Common Shortcut Summary (MAC)