idea常用的设置汇总

1 快捷键

#------------------------------idea快捷键------------------------------#

设置窗⼝口(command + ,

最近⽂文件(command + E

最近修改⽂文件(command + shift + E

运⾏行行窗⼝口(command + 4

Debug窗⼝口(command + 5

VCS窗口(command + 9

终端窗⼝口(option + F12

全屏返回(command + shift + F12

返回⾄至编辑器器(esc)

#------------------------------查找------------------------------#


查找类(command + O

查找⽂文件(command + shift + O

查找符号(command + option + O

查找所有(double shift



#------------------------------搜索------------------------------#

当前类中进⾏行行搜索(command + F

所有⽂文件中搜索(command + shift + F

替换(command + shift + R



#------------------------------代码搜索------------------------------#


查看调⽤用(command + B

查看实现(command + option + B

查看声明(command + U

查看类(control + H

查看⽅方法列列表(command + F12



#------------------------------导航------------------------------#

查看下⼀一个错误(F2)

导航⾄至上⼀一次修改(command + shift + backspace

行首(command + ← + home

行尾(command + → + end




#------------------------------代码选择------------------------------#


扩⼤大选择块(option + ↑

缩⼩小选择块(option + ↓

重复选择下⼀一个单词(control + G

重复选择所有单词(command + control + G

多⾏行行编辑模式(command + shift + 8

包装(command + option + T



#------------------------------重构------------------------------#

重命名(shift + F6

移动(F6

改变签名(command + F6

复制⽂文件(F5

重构(control + T

2 编译的3种方法

2-1 菜单栏build

image

2-2 Maven编译

image

2-3 只编译当前文件

image

3 项目配置与全局配置

image

4 maven

image

5 自动导包和智能移除

image

6 自动编译

image

敲击 Ctrl + Shift + Alt + / 然后双击Shift搜索进入Registry ,找到 compiler.automake.allow.when.app.running ,然后勾选上。

image

7 取消大小写敏感

image

8 字体大小

image

9 设置最大内存和最小内存

image

10 全局设置为utf-8

image

11 鼠标悬浮提示

image

12 右下显示内存

image

13 取消自动更新

image

14 显示行号和方法分隔符

image

15 多行打开标签页

image

16 相同变量相同颜色

image

17 类头部信息

image

posted @ 2021-12-11 22:15  姚狗蛋  阅读(46)  评论(0)    收藏  举报