【Tools】【IDE】AndroidStudio 使用技巧

AndroidStudio 使用技巧:


1. Android Studio 小技巧

2. Android Studio 格式化代码

3. Android Studio 使用技巧







Note:

1. Ctrl + Shift + Backspace, 退到上一次编辑处。

2. Alt+Q, Press Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.     

3. Ctrl+E (View | Recent Files) brings a popup list of the recently visited files. Choose the desired file and pressEnter to open it.     

4. Use F2/Shift+F2 keys to jump between highlighted syntax errors.

    Use Ctrl+Alt+向上箭头/Ctrl+Alt+向下箭头 shortcuts to jump between compiler error messages or search operation results.     

5. Use Ctrl+J to complete any valid Live Template abbreviation if you don't remember it. For example, typeit and pressCtrl+J to see what happens.     

6. To show separator lines between methods in the editor, open the editor settings and select theShow method separators check box in theAppearance page. 

7. When using basic code completion (Ctrl+空格), type any characters that exist anywhere in an identifier.

8. Use Alt+向上箭头 and Alt+向下箭头 keys to quickly move between methods in the editor. 

9. Use Refactor | Copy to create a class which is a copy of the selected class. This can be useful, for example, when you need to create a class which has much incommon with some existing class and it's not feasible to put the shared functionality in a common superclass. 

10. Use the Ctrl+Shift+V shortcut to choose and insert recent clipboard contents into the text.     

11. To see the inheritance hierarchy for a selected class, press Ctrl+H (Navigate | Type Hierarchy). You can also invoke the hierarchy view right from the editor to see the hierarchy for the currently edited class.     

















评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值