IDEA基本配置操作
1、打开自动编译
File --Settings–Build,Execution,Deployment–Compiler点击(不用下拉)–Build project automatically勾选即可
2、忽略大小写
File – Settings – Editor下拉 – General下拉 – Code Completion – 取消勾选Math case
3、自动导包
File – Settings – Editor – General下拉 – Auto Import – Insert imports on paste选择All – 勾选Add unambiguous imports on the fly
– 勾选Optimize imports on the fly(for current project)-- 保存即可。
4、提示框自动悬浮
File – Settings… – Editor – General点击 – 勾选Show quick documentation on mouse move
5、修改项目编码
File – Settings – Editor下拉 – File Encodings – Global Encoding修改成UTF-8 – Project Encoding修改成UTF-8
– Default encoding for properties files设置成UTF-8
6、通过滚轮修改字体大小
File – Settings – General点击 – 勾选Change font size(Zoom)with Ctrl + Mouse Wheel
7、显示行号
File – Settings – Editor下拉 – General下拉 – Apperance – 勾选Show line numbers