“IDEA配置”的版本间的差异
| 第1行: | 第1行: | ||
| − | ===代码格式化 | + | == 激活 == |
| + | 请参考以下网址 | ||
| + | http://idea.lanyus.com/?tdsourcetag=s_pcqq_aiomsg | ||
| + | |||
| + | ==代码格式化== | ||
采用谷歌的idea代码格式化配置文件,请自行下载 | 采用谷歌的idea代码格式化配置文件,请自行下载 | ||
https://github.com/google/styleguide/blob/gh-pages/intellij-java-google-style.xml | https://github.com/google/styleguide/blob/gh-pages/intellij-java-google-style.xml | ||
| − | + | ==内存和编码设置== | |
修改按照目录下 idea64.exe.vmoptions 文件 | 修改按照目录下 idea64.exe.vmoptions 文件 | ||
| 第15行: | 第19行: | ||
| − | + | ==idea 设置参数提示 == | |
[[文件:Idea 设置参数提示 .png|居中]] | [[文件:Idea 设置参数提示 .png|居中]] | ||
| − | + | ==文件修改后星号提示== | |
Settings -> Editor -> General -> Editor Tabs: 勾选 "Mark modified tabs with asterisk" | Settings -> Editor -> General -> Editor Tabs: 勾选 "Mark modified tabs with asterisk" | ||
| 第25行: | 第29行: | ||
[[文件:Idea星号提示.png|居中]] | [[文件:Idea星号提示.png|居中]] | ||
| − | + | ==@Autowired取消提示== | |
在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | 在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | ||
2019年8月27日 (二) 13:40的版本
激活
请参考以下网址 http://idea.lanyus.com/?tdsourcetag=s_pcqq_aiomsg
代码格式化
采用谷歌的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



