linux怎么查看本机内存大小
377
2022-09-03
DevEco Studio配置:自定义头部代码注释
DevEco Studio配置:自定义头部代码注释
1.实现效果
/* * Copyright (c) 2022 JianGuo Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//** * @ProjectName : nutsStudy * @FileName : setting * @Author : 坚果 * @Time : 2022/8/5 13:51 * @Description : 文件描述 */
2.实现步骤
3. 总结
${PACKAGE_NAME} | 新建文件所在包名 |
${USER} | 用户名 |
${DATE} | 创建文件时当前系统的日期(格式:yyyy/MM/dd) |
${TIME} | 创建文件时当前系统的时间(格式:hh:mm) |
${YEAR} | 创建文件时当前系统的年份 |
${MONTH} | 创建文件时当前系统的月份 |
${MONTH_NAME_SHORT} | 当前月份的前三位字符缩写,例如: Jan, Feb, etc |
${MONTH_NAME_FULL} | 当前月份的字母全写,例如: January, February, etc |
${DAY} | 当前时间所属月份的天数 |
${HOUR} | 当前的小时数 |
${MINUTE} | 当前的分钟数 |
${PROJECT_NAME} | 当前的项目名 |
${NAME} | 当前的文件名 |
4.我添加的内容
/* * Copyright (c) 2022 JianGuo Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//** * @ProjectName : ${PROJECT_NAME} * @FileName : ${NAME} * @Author : 坚果 * @Time : ${DATE} ${TIME} * @Description : 文件描述 */
效果:
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~