Android Studio Key Shortcuts
自己常用的Android Studio 快捷键,持续添加中
Edit
- ctrl + d
- ctrl + y
- ctrl + w expand selection, word -> line -> block
- alt + ctrl + I 自动缩进
- ctrl + shift + ? 移动代码
- ctrl +shift + back 上一个修改的地方
- shift + f6 rename
- ctrl + +/- unfold/fold methods
- ctrl+shift+j join lines
Debug
- Run: shift + F10
- Debug: shift + F9
- Breakpoint: ctrl + F8
- ctrl + shift + F8 show all breakpoints
- Resume F9
- Stepover F8
- Step into F7
- Stop Ctrl + F2
- Run to cursor Alt + F9
Navigation
- Back to editor: Esc
- Alt+ number
- ctrl + shift + f12 max editor
- alt + ← → between tabs
- alt + shift ← →: design/text
- alt + ↑ ↓ : next/last method
- alt + f7: find usage
- ctrl + alt + f7 same as above, popup in a window
- ctrl + G go to line
- ctrl + b goto declaration
Comment
- Single line: ctrl + /
- Block of clode ctrl + shift + /
- java doc /** + enter, above methods
Smart Coding
- ctrl + space
- tab
- ctrl + p : parameters
- alt + insert
- ctrl + shift + enter
- ctrl + alt + T
- ctrl + q: quick documents check
- ctrl + shift + I, check code
- F2 next error
- alt + enter
- ctrl + o override
- alt + insert insert
- ctrl + f12 file structure (alt + 7 in a separate sidebar)
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。