修改Intellij IDEA中@author变量user内容
2023-09-11 14:20:19 时间
1.Intellij IDEA 打开 Help-> Edit Custom VM Options
2.在下面的文件中 尾部 添加一行:
-Duser.name=作者名
然后保存。
3.在Idea中打开 File---->Settings---->Editor---->File and Code Templates---->Includes---->FileHeader
4.重启“IntelliJ IDEA”
5.测试
新建一个class类,大家看到@author注释后面已经变成“zhen”
相关文章
- 【Idea】idea中编译后无法提示错误信息的解决方案
- 【Idea】idea中spring框架配置文件,无法自动提示spring配置
- Intellij IDEA 安装和配置jrebel进行项目的热部署
- intellij idea 无法启动或调试 spring-boot
- IntelliJ IDEA 快捷键和设置
- IDEA 阿里巴巴 P3C Java开发手册 [MD]
- Ubuntu安装IDEA
- JavaWeb课程复习资料(二)——idea创建JDBC(FactoryDB)
- 【idea】IDEA 出现问题:Error running xxx Command line is too long. Shorten command line 解决方案
- idea 使用 maven 编译正常,但是运行项目时却提示很多 jar 包找不到的问题