“IDEA配置”的版本间的差异
| 第1行: | 第1行: | ||
| + | ===代码格式化=== | ||
| + | 采用谷歌的idea代码格式化配置文件,请自行下载 | ||
| + | https://github.com/google/styleguide/blob/gh-pages/intellij-java-google-style.xml | ||
| + | |||
===内存和编码设置=== | ===内存和编码设置=== | ||
修改按照目录下 idea64.exe.vmoptions 文件 | 修改按照目录下 idea64.exe.vmoptions 文件 | ||
| 第20行: | 第24行: | ||
[[文件:Idea星号提示.png|居中]] | [[文件:Idea星号提示.png|居中]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===@Autowired取消提示=== | ===@Autowired取消提示=== | ||
2019年8月27日 (二) 13:26的版本
代码格式化
采用谷歌的idea代码格式化配置文件,请自行下载 https://github.com/google/styleguide/blob/gh-pages/intellij-java-google-style.xml
内存和编码设置
修改按照目录下 idea64.exe.vmoptions 文件
-Xms1024m -Xmx2048m -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -Didea.cycle.buffer.size=disabled
idea 设置参数提示
文件修改后星号提示
Settings -> Editor -> General -> Editor Tabs: 勾选 "Mark modified tabs with asterisk"
@Autowired取消提示
在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中,
将Severity的级别由之前的error改成warning 或者取消勾选。
解决tomcat中文乱码问题
在tomcat Server中设置 VM options , 值为 -Dfile.encoding=UTF-8



