IDEA 2023的基础配置

一、设置主题和字体

 Settings| Apearance & Behavior | Appearance

二、鼠标滚轮更改字体大小

 Settings| Editor | General

三、设置自动导入 

 Settings| Editor | General | Auto Import

四、 显示方法水平分割线

 Settings| Editor | General | Appearance

五、忽略大小写字母

 Settings| Editor| General | Code  Completion

六、优化代码注释前空格

 Settings| Editor | Code Style | Java

七、打开项目为最后关闭项目

 Settings| Appearance & Behavior | System Settings

八、配置类模板注释

class、interface、enum,这三个配置同一个如下

/**
 * @ClassName :${NAME}
 * @author : HLX
 * @date : ${DATE} ${TIME}
 * @Version :1.0
 * @Description: TODO
 * @modyified By :
 */

Settings| Editor |  File and Code Templates

九、设置编码 

Settings| Editor | File Encodings 

Transparent native-to-ascii conversion:properties文件在保存到硬盘上时,以ASCII码的形式保存。勾选了这个选项,用记事本打开该文件会发现是ASCII码(idea中看到的是其他形式,如:汉字)。
开发中通常建议勾选(nmb就是默认不勾选),尤其是多人合作的时候。只要勾选该按钮,即便是properties文件用不同编码的开发者看到同一份文件也不会乱码。

设置控制台的字符编码

Settings| Editor | General | Console

 

十、设置自动编译

Settings| Build, Execution,Deployment | Compiler

  • Build project automatically:当前的工程是否是要自动编译
  • Compile independent modules in parallel:是不是需要并行的对多个模块进行编译

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值