idea开发环境常用设置
2020-10-31 本文已影响0人
码农GG
常用插件安装

设置常见视图

项目文件过滤

查看项目配置

jdk设置

设置编辑区主题

如果想要更多的主题效果的话,可以到如下的网站下载:
http://www.riaway.com/
下载以后,导入主题:(方式一)
file –> import setttings –> 选中下载的主题 jar 文件 –> 一路确认 –> 重启。
重启以后,新主题会自动启用。如果没有启用,可以如下方式选择:
鼠标滚轮改变字体大小

设置自动导包

设置显示行号和方法间的分隔符

不区分大小写

打开文件多行显示(去勾选)

设置默认的字体、字体大小、字体行间距

修改当前主题的字体、字体大小、字体行间距

修改控制台输出字体颜色

修改控制台输出字体大小

修改代码中注释的字体颜色

修改类头文件注释

设置自动编译

设置快捷为 Eclipse 的快捷键

缓存和索引的清理

取消检查更新

在idea中配置 gitignore忽略文件
https://blog.csdn.net/u011066470/article/details/94395451
热部署devtools
1.在模块pom中配置devtools
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
2.在父级pom中配置
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<addResources>true</addResources>
</configuration>
</plugin>
3.IDEA setting配置

4.选中模块ctrl+shift+alt+/

5.重启IDEA