Ctrl+alt+D 截屏翻译
Ctrl+M 查词小窗口
IP地址:172.31.58.106
Mspaint 画图
Taskmgr 任务管理器
Notepad 记事本
Dxdiag 查看电脑配置
1.补全代码的声明:alt + /
2.快速修复: ctrl + 1
3.批量导包:ctrl + shift + o
4.使用单行注释:ctrl + /
5.使用多行注释: ctrl + shift + /
6.取消多行注释:ctrl + shift +
7.复制指定行的代码:ctrl + alt + down 或 ctrl + alt + up
8.删除指定行的代码:ctrl + d
9.上下移动代码:alt + up 或 alt + down
10.切换到下一行代码空位:shift + enter
11.切换到上一行代码空位:ctrl + shift + enter
12.如何查看源码:ctrl + 选中指定的结构 或 ctrl + shift + t
13.退回到前一个编辑的页面:alt + left
14.进入到下一个编辑的页面(针对于上面那条来说的):alt + right
15.光标选中指定的类,查看继承树结构:ctrl + t
17.撤销: ctrl + z
18.反撤销: ctrl + y
23.格式化代码: ctrl + shift + f
24.选中数行,整体往后移动:tab
25.选中数行,整体往前移动:shift + tab
26.在当前类中,显示类结构,并支持搜索指定的方法、属性等:ctrl + o
27.批量修改指定的变量名、方法名、类名等:alt + shift + r
28.选中的结构的大小写的切换:变成大写: ctrl + shift + x
29.选中的结构的大小写的切换:变成小写:ctrl + shift + y
30.调出生成getter/setter/构造器等结构: alt + shift + s
31.显示当前选择资源(工程 or 文件)的属性:alt + enter
32.快速查找:参照选中的Word快速定位到下一个 :ctrl + k
33.关闭当前窗口:ctrl + w
34.关闭所有的窗口:ctrl + shift + w
35.查看指定的结构使用过的地方:ctrl + alt + g
36.查找与替换:ctrl + f
37.最大化当前的View:ctrl + m
38.直接定位到当前行的首位:home
39.直接定位到当前行的末位:end
0 alt+鼠标左键 选中竖列内容
1 执行(run) alt+r
50 查看指定类的源码 ctrl + shift + t
2 提示补全 (Class Name Completion) alt+/
3 单行注释 ctrl + /
4 多行注释 ctrl + shift + /
5 向下复制一行 (Duplicate Lines) ctrl+alt+down
6 删除一行或选中行 (delete line) ctrl+d
7 向下移动行(move statement down) alt+down
8 向上移动行(move statement up) alt+up
9 向下开始新的一行(start new line) shift+enter
10 向上开始新的一行 (Start New Line before current) ctrl+shift+ente
11 如何查看源码 (class) ctrl + 选中指定的结构 或ctrl + shift + t
12 万能解错/生成返回值变量 alt + enter
13 退回到前一个编辑的页面 (back) alt + left
14 进入到下一个编辑的页面(针对于上条) (forward) alt + right
15 查看继承关系(type hierarchy) F4
16 格式化代码(reformat code) ctrl+shift+F
17 提示方法参数类型(Parameter Info) ctrl+alt+/
40 查看类的继承结构图(Show UML Diagram) ctrl + shift + u
27 查看当前类的结构:类似于 eclipse 的 outline ctrl+o
28 重构:修改变量名与方法名(rename) alt+shift+r
29 大写转小写/小写转大写(toggle case) ctrl+shift+y
30 生成构造器/get/set/toString alt +shift + s
18 复制代码 ctrl + c 19 Ctrl+D 删除
19 撤销 ctrl + z
20 反撤销 ctrl + y 21 剪切 ctrl + x
22 粘贴 ctrl + v 23 保存 ctrl + s
24 全选 ctrl + a 25 选中数行,整体往后移动 tab
26 选中数行,整体往前移动 shift + tab
31 查看文档说明(quick documentation) F2
32 收起所有的方法(collapse all) alt + shift + c
33 打开所有方法(expand all) alt+shift+x
34 打开代码所在硬盘文件夹(show in explorer) ctrl+shift+x
35 生成 try-catch 等(surround with) alt+shift+z
36 局部变量抽取为成员变量(introduce field) alt+shift+f
37 查找/替换(当前)ctrl+f 38 查找(全局)ctrl+h
39 查找文件 double Shift
41 查看方法的多层重写结构(method hierarchy) ctrl+alt+h
42 添加到收藏(add to favorites) ctrl+alt+f
43 抽取方法(Extract Method) alt+shift+m
44 打开最近修改的文件(Recently Files) ctrl+E
45 关闭当前打开的代码栏(close) ctrl + w
46 关闭打开的所有代码栏(close all) ctrl + shift + w
47 快速搜索类中的错误(next highlighted error) ctrl + shift + q
48 选择要粘贴的内容(Show in Explorer) ctrl+shift+v
49 查找方法在哪里被调用(Call Hierarchy) ctrl+shift+h
50 抽取代码片段 alt+shift+M
正则表达式
50 去除复制的代码带数字 ^\s\d+
51 删除空行 ^\s\n 查找选择正则表达式