Applies to Java simple source files that are created by invoking New | Java Class/File | Simple source file in the Project tool window.

This built-in template is editable. Along with Java expressions and comments, you can also use the predefined variables (listed below) that will then be expanded like macros into corresponding values.

It is also possible to specify custom variables. 사용자 지정 변수의 형식은 ${VARIABLE_NAME}입니다. 여기서 VARIABLE_NAME은 변수 이름입니다(예: ${MY_CUSTOM_FUNCTION_NAME}). Before the IDE creates a new file with custom variables, you see a dialog where you can define values for custom variables in the template.

By using the #parse directive, you can include templates from the Includes tab. 템플릿을 포함하려면, 템플릿의 전체 이름을 따옴표로 묶인 매개변수로 지정하세요(예: #parse("File Header.java").
사전 정의된 변수는 다음의 값을 사용합니다.
${PACKAGE_NAME}   새 레코드가 생성되는 패키지 이름
${NAME}   새 클래스 생성 대화상자에서 지정한 새 레코드 이름
${USER}   현재 사용자의 시스템 로그인 이름
${DATE}   현재 시스템 날짜
${TIME}   현재 시스템 시간
${YEAR}   현재 년도
${MONTH}   현재 월
${MONTH_NAME_SHORT}   현재 월 이름의 첫 세 글자(Jan, Feb 등)
${MONTH_NAME_FULL}   현재 월의 전체 이름(January, February 등)
${DAY}   현재 일
${HOUR}   현재 시
${MINUTE}   현재 분
${PROJECT_NAME}   현재 프로젝트 이름