IDEA常用配置

properties文件乱码
File-Settings-Editor-File Encodings
修改Default encoding for properties files为UTF-8

自动导入、自动删除无用的包
File-Settings-Editor-General-Auto Import
勾上Add unambiguous imports on the fly
勾上Optimize imports on the fly

禁用单行自动折叠
File-Settings-Editor-General-Code Folding
取消One-line methods

双斜杠注释改成紧跟代码头
File-Settings-Editor-Code Style-Java-Code Generation
取消Line comment at first column
勾上Add a apace at line comment start

去掉引用提示
File-Settings-Editor-Inlay Hints-Code vision去掉Usages、Code author、Inheritors

常用插件
MyBatisX
Alibaba Java Coding Guidelines

posted on 2018-07-20 13:59  lc19149  阅读(403)  评论(0编辑  收藏  举报

导航