“IDEA配置”的版本间的差异
| 第21行: | 第21行: | ||
[[文件:Idea星号提示.png|居中]] | [[文件:Idea星号提示.png|居中]] | ||
| − | ===解决tomcat中文乱码问题== | + | === 解决tomcat中文乱码问题 === |
| + | 在tomcat Server中设置 VM options , 值为 -Dfile.encoding=UTF-8 | ||
| − | ===设置 ALT+/ 代码提示快捷键 === | + | |
| + | === 设置 ALT+/ 代码提示快捷键 === | ||
使用eclipse都习惯使用快捷键ALT+/ 来代码自动提示,后来使用IntelliJ Idea这个快捷键并不管用,十分不便,这里记录如何使更改idea代码自动提示快捷键。 | 使用eclipse都习惯使用快捷键ALT+/ 来代码自动提示,后来使用IntelliJ Idea这个快捷键并不管用,十分不便,这里记录如何使更改idea代码自动提示快捷键。 | ||
[[文件:20170808160713436.png|居中]] | [[文件:20170808160713436.png|居中]] | ||
| 第33行: | 第35行: | ||
右键Add Keyboard Shutcut,然后在键盘上按下Alt+空格,点击ok即完成修改。 | 右键Add Keyboard Shutcut,然后在键盘上按下Alt+空格,点击ok即完成修改。 | ||
| − | [[文件:20170808161342648.png| | + | [[文件:20170808161342648.png|居中]] |
===@Autowired取消提示=== | ===@Autowired取消提示=== | ||
在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | 在File -- Settings -- Inspections。在Spring Core -- Autowring for Bean Class 中, | ||
| − | + | [[文件:717943-20190124093658943-1191924990.png|居中]] | |
将Severity的级别由之前的error改成warning 或者取消勾选。 | 将Severity的级别由之前的error改成warning 或者取消勾选。 | ||
| − | [[文件:QQ截图20190815090739.png| | + | [[文件:QQ截图20190815090739.png|居中]] |
2019年8月15日 (四) 09:12的版本
内存和编码设置
修改按照目录下 idea64.exe.vmoptions 文件
-Xms1024m -Xmx2048m -Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -Didea.cycle.buffer.size=disabled
idea 设置参数提示
文件修改后星号提示
Settings -> Editor -> General -> Editor Tabs: Check "Mark modified tabs with asterisk"
解决tomcat中文乱码问题
在tomcat Server中设置 VM options , 值为 -Dfile.encoding=UTF-8
设置 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 或者取消勾选。






