idea使用

根据日常使用情况更新

- 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中查找

  新建类后,效果如下图:

原文地址:https://www.cnblogs.com/healkerzk/p/13045036.html