Android
来源:互联网 发布:淘宝做代理有风险吗 编辑:程序博客网 时间:2024/06/04 22:28
资源查看:
1.查看成员变量和成员方法 —> ctrl + f12
2.类跳转 —> ctrl + n
3.任意文件或设置项 —> 双击shift
4.跳转到下一个错误行 —> f2
5.参数提示 —> ctrl + p
6.查看文档 —> ctrl + q
代码编辑:
1.代码补齐(code - complete - base): —> alt + /
2.自动修复错误 —> alt + enter
3.格式化代码 —> ctrl + alt + L
4.复制选中行 —> ctrl + d
5.删除选中行 —> ctrl + y
6.剪切选中行 —> ctrl + x
7.自动删除未使用的包 —> ctrl + alt + O
8.自动生成常用方法(getter, setter, 构造方法等) —> alt + insert
9.重写父类方法 ctrl + o
10.代码向上移动一行:ctrl + shift + ↑
11.代码向下移动一行:ctrl + shift + ↓
12.代码提示:ctrl + alt + space
13.选中代码,连续按会选中更多:ctrl + w
14.在类中的方法间移动:alt + up/down
15.隐藏工程面板:alt + 1
16.显示类结构:ctrl + h
17.代码返回快捷键:alt + left
18.打开一个类:ctrl + n
19.打开一个file:ctrl + shift + n
20.查看一个变量的声明:ctrl + b
21.查看一个方法的调用:ctrl + alt + h
22.在类中查看一个方法的实现:ctrl + shift + i
23.折叠展开代码:ctrl + plus
24.查找类中的方法和变量:ctrl + shift + alt + n
25.代码生成: ctrl + j (if、for、foreach、findViewById、View.Gone、Toast)
26.查找文本: ctrl + f
27.替换文本: ctrl + r
28.打开最近的文件:ctrl + e
29.抽取方法:ctrl + alt + m
30.Surround With:ctrl + alt + t
31.System.out.println():sout
32.创建新的文件:alt + insert
33.从当前行转到下一行:shift + enter
34.从当前行转到上一行:ctrl + alt + enter
35.全局搜索文件:double shift
36.全局搜索文本字符串:ctrl +shift + f
37.返回上一次编辑的位置:ctrl + shift + Backspace
38.切换当前编辑界面:ctrl + tab
39.切换行编辑/列编辑:alt + shift + insert
40.查看在哪里用到了:alt + f7
41.撤销:ctrl + z
42.取消撤销:ctrl + shift + z
43.全局替换文本: ctrl + shift + r
补充:
1.ctrl+y快捷键太远,可以使用ctrl+x
2.生成变量: ctrl + alt + V 或者 alt + enter
3.把局部变量抽成成员变量: ctrl + alt + F
4.大小写转换: ctrl + shift + U
5.编写代码的时全屏编辑框(关闭或者恢复其他窗口): ctrl + shift + f12
阅读全文
0 0
- Android
- android
- Android
- android
- android
- Android
- Android
- android
- android
- android
- Android
- Android
- android!!!
- android
- android
- android
- android
- android:
- SSM组合+ springmvc+mybatis+shiro+restful+bootstrap
- 基于webpack的前端工程化开发之多页站点篇(一)
- 要将大数据和分析转变为竞争优势,实现业务转型,必须做到这三点!
- UIViewContentMode各类型效果
- Java还要再学一遍基础(九)HashMap原理
- Android
- 对比Ruby和Python的垃圾回收(2)
- 使用SfntTool制作字体剪辑工具5
- eclipse无法打开web包的解决方法
- 设计模式之结构型-装饰模式(7)
- 自定义View (四): onDraw 之 Canvas画布
- 基于webpack的前端工程化开发之多页站点篇(二)
- jzoj P1842【汕头市选2014】平均
- hud1031JAVA实现