首页 > 技术文章 > idea使用

healkerzk 2020-06-04 17:49 原文

根据日常使用情况更新

- 1. 新建项目后,idea没有错误提示,编码过程中没有错误提示,编译时才会报错。

  • 检查是否开启了省电模式,若开启了,需要关闭
  • File -> Power Save Mode

  • 检查是否开启了自动编译项目
  • File -> Settings... -> Build,Execution,Deployment -> Compiler
  • 勾选 √ Build project automatically

参考地址:https://blog.csdn.net/a755199443/article/details/90084316

- 2. 设置类头作者及时间、描述等信息

  • File -> Setting -> Editor -> File and Code Templates -> Files(Class)

  具体参数设置可在description中查找

  新建类后,效果如下图:

推荐阅读