美文网首页
Android Studio 设置创建类的说明信息

Android Studio 设置创建类的说明信息

作者: iVikings | 来源:发表于2019-12-10 12:18 被阅读0次
  • Android Studio 设置创建类的说明信息,包含:作者创建时间注释说明

    Templates.png
/**
 *  ${PROJECT_NAME}
 *
 *  Created by ${USER} on ${DATE}
 *  Copyright © ${YEAR}年 weibo. All rights reserved.
 *
 *  Describe: 
 */

Predefined variables will take the following values:
${PACKAGE_NAME}
 
name of the package in which the new file is created
${NAME}
 
name of the new file specified by you in the New <TEMPLATE_NAME> dialog
${USER}
 
current user system login name
${DATE}
 
current system date
${TIME}
 
current system time
${YEAR}
 
current year
${MONTH}
 
current month
${MONTH_NAME_SHORT}
 
first 3 letters of the current month name. Example: Jan, Feb, etc.
${MONTH_NAME_FULL}
 
full name of the current month. Example: January, February, etc.
${DAY}
 
current day of the month
${DAY_NAME_SHORT}
 
first 3 letters of the current day name. Example: Mon, Tue, etc.
${DAY_NAME_FULL}
 
full name of the current day. Example: Monday, Tuesday, etc.
${HOUR}
 
current hour
${MINUTE}
 
current minute
${PROJECT_NAME}
 
the name of the current project

相关文章

网友评论

      本文标题:Android Studio 设置创建类的说明信息

      本文链接:https://www.haomeiwen.com/subject/nezwgctx.html