“IDEA配置”的版本间的差异
| 第20行: | 第20行: | ||
[[文件:Idea星号提示.png|居中]] | [[文件:Idea星号提示.png|居中]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
=== 设置 ALT+/ 代码提示快捷键 === | === 设置 ALT+/ 代码提示快捷键 === | ||
| 第39行: | 第35行: | ||
===@Autowired取消提示=== | ===@Autowired取消提示=== | ||
在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | 在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | ||
| − | + | ||
将Severity的级别由之前的error改成warning 或者取消勾选。 | 将Severity的级别由之前的error改成warning 或者取消勾选。 | ||
[[文件:QQ截图20190815090739.png|居中]] | [[文件:QQ截图20190815090739.png|居中]] | ||
| + | |||
| + | |||
| + | === 解决tomcat中文乱码问题 === | ||
| + | 在tomcat Server中设置 VM options , 值为 -Dfile.encoding=UTF-8 | ||
| + | [[文件:717943-20190124093658943-1191924990.png|居中]] | ||
2019年8月15日 (四) 09:14的版本
内存和编码设置
修改按照目录下 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"
设置 ALT+/ 代码提示快捷键
使用eclipse都习惯使用快捷键ALT+/ 来代码自动提示,后来使用IntelliJ Idea这个快捷键并不管用,十分不便,这里记录如何使更改idea代码自动提示快捷键。
移除占用Alt+斜杠的快捷键 需要将Basic的快捷键修改为Alt+/,但Alt+/被Cyclic Expand Word占用,所以先修改Cyclic Expand Word的快捷键,右键Remove Alt+斜杠。
设置Basic快捷键为Alt+斜杠
右键Add Keyboard Shutcut,然后在键盘上按下Alt+空格,点击ok即完成修改。
@Autowired取消提示
在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中,
将Severity的级别由之前的error改成warning 或者取消勾选。
解决tomcat中文乱码问题
在tomcat Server中设置 VM options , 值为 -Dfile.encoding=UTF-8






