android studio 自定义类注释模版

perferences==>File and Code Templates==>Class

填写:

复制代码
/**
 * @ClassName: ${ClassName}
 * @Description: ${Description}
 * @Author: ${Author}
 * @CreateDate: ${CreateDate}
 * @UpdateUser: ${UpdateUser}
 * @UpdateDate: ${UpdateDate}
 * @UpdateRemark: ${UpdateRemark}
 * @Version: ${Version}
 */
public class ${ClassName} {
    // 类的成员变量和方法
}

这样每次新建类时都会让你填写这些参数,看吧:

相关推荐
Johny_Zhao8 小时前
OpenClaw安装部署教程
linux·人工智能·ai·云计算·系统运维·openclaw
火柴就是我13 小时前
让我们实现一个更好看的内部阴影按钮
android·flutter
砖厂小工19 小时前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
张拭心20 小时前
春节后,有些公司明确要求 AI 经验了
android·前端·人工智能
张拭心20 小时前
Android 17 来了!新特性介绍与适配建议
android·前端
Kapaseker1 天前
Compose 进阶—巧用 GraphicsLayer
android·kotlin
黄林晴1 天前
Android17 为什么重写 MessageQueue
android
chlk1232 天前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
阿巴斯甜2 天前
Android 报错:Zip file '/Users/lyy/develop/repoAndroidLapp/l-app-android-ble/app/bu
android
舒一笑2 天前
Ubuntu系统安装CodeX出现问题
linux·后端