IDEA学习记录(四)-win10 常用设置篇-快捷键(版本:2020.2.4 x64)

4.1:引入设置快捷键jar文件:

找到对应的文件引入即可,引入会提示重启。 

4.2:通过快捷键功能修改快捷键设置 

也可查看或修改其功能  

 4.3:常用快捷键介绍:

序号快捷键说明
1执行(run) (已执行过一次后再次执行时使用)alt+r 
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+enter 
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+/ 
18查看类的结构:类似于eclipse的outline ctrl+o 
19重构:修改变量名与方法名(rename) alt+shift+r 
20大写转小写/小写转大写(toggle case)ctrl+shift+y 
21生成构造器/get/set/toString alt +shift + s 
22查看文档说明(quick documentation) F2
23收起所有的方法(collapse all) alt + shift + c 
24打开所有方法(expand all) alt+shift+x 
25打开代码所在硬盘文件夹(show in explorer) ctrl+shift+x 
26生成try-catch等(surround with) alt+shift+z 
27局部变量抽取为成员变量(introduce field) alt+shift+f
28查看类的继承结构图(Show UML Diagram) ctrl + shift + u 
29查看方法的多层重写结构(method hierarchy) ctrl+alt+h 
30添加到收藏(add to favorites) ctrl+alt+f 
31抽取方法(Extract Method) alt+shift+m
32打开最近修改的文件(Recently Files) ctrl+E 
33关闭当前打开的代码栏(close) ctrl + w 
34关闭打开的所有代码栏(close all) ctrl + shift + w 
35快速搜索类中的错误(next highlighted error)ctrl + shift + q
36选择要粘贴的内容(Show in Explorer) ctrl+shift+v 
37查找方法在哪里被调用(Call Hierarchy) ctrl+shift+h 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值