原创

idea常用设置

温馨提示:
本文最后更新于 2021年12月06日,已超过 844 天没有更新。若文章内的图片失效(无法正常加载),请留言反馈或直接联系我

idea设置

使用eclipse的快捷键

setting--》keymap--》设置为eclipse

设置背景主题

editor--》color scheme 设置scheme为default

设置背景色护眼

editor--》color scheme--》general 设置text->default text中background为:C7EDCC

设置代码提示

editor--》general--》code completion 中取消match case的多选框

修改syso,main

editor--》liv template 找到output,修改sout为syso

editor--》liv template 找到other,修改psvm为main

配置文件为unicode码转为中文

File==>Settings==>Editor==>File Encodings,将transparent native-to-ascii conversion前的方框勾选上

多tab页显示

tab页上--》右键--》splite vertically

tab隐藏/不隐藏

File==>Settings==>Editor--》general--》editor tabs,查看右侧,show tabs in one row

滚轮缩放字体大小

File==>Settings==>Editor--》general查看右侧,change font size with ctrl_mouse wheel

修改idea编译的jdk版本

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<version>3.6.1</version>
	<configuration>
		<source>1.8</source>
		<target>1.8</target>
	</configuration>
</plugin>

移除autowire的警告

file=>setting=>editor=>inspections,右侧搜搜 field injection  然后移除选择框

移除date标签的警告

file=>setting=>editor=>inspections,右侧搜索 declaration has javadoc problems  然后再右侧的additional javadoc tags 下面填入date,点击右面添加。

安装插件(https://plugins.jetbrains.com/)

maven helper

ide-eval-resetter

statistic

plantUML integration

lombok plugin

free mybatis plugin

Key Promoter X


正文到此结束