【Tools】【IDE】AndroidStudio 使用技巧
2016-02-20 15:43
295 查看
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.
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.
相关文章推荐
- 【Tools】【IDE】AndroidStudio 使用技巧
- 【Tools】【IDE】AndroidStudio 使用技巧
- android EditText多行显示并且支持imeOptions设置
- Android:根据文件大小自动转化为KB, MB, GB
- Android基于XMPP Smack及Openfire学习笔记(3)
- android SQLite 数据库
- Android开发优化之——从代码角度进行优化
- MTK android 工程中如何修改照片详细信息中机型名
- 下载android源码
- ANDROID_MARS学习笔记_S03_003_LocationManager、LocationListener
- AndroidStudio 快捷键
- Android开发系列之button事件的4种写法
- Android线程三、Handler
- windows下用cygwin编译android版ijkplayer
- android Camera 如何判断当前使用的摄像头是前置还是后置
- android权限大全
- Android Studio - Gradle项目 - NDK开发 - JNI编译中引用本地so - 记录
- android Camera 录像时旋转角度
- android 机器耗电
- android Camera 中添加一种场景模式