# 설정 위치
- 상단 탭 Window → Preferences → Java → Code Style → Code Templates -> comments
- 편집할 항목 클릭 → Edit → 각 항목에 해당하는 comments 복붙
# 설정 항목
# comments → Types
/**
* @FileName : ${file_name}
* @Date : ${date}
* @작성자 : ${user}
* @변경이력 :
* @프로그램 설명 :
*/
# comments → Methods
/**
* @Method Name : ${enclosing_method}
* @작성일 : ${date}
* @작성자 : ${user}
* @변경이력 :
* @Method 설명 :
* ${tags}
*/
# comments → Overriding methods
/**
* @Method Name : ${enclosing_method}
* @작성일 : ${date}
* @작성자 : ${user}
* @변경이력 :
* @Method 설명 :
* ${tags}
*/
# comments → Delegate methods
/**
* @Method Name : ${enclosing_method}
* @작성일 : ${date}
* @작성자 : ${user}
* @변경이력 :
* @Method 설명 :
* ${see_to_target}
* ${tags}
*/
# 사용 방법
- 주석하고싶은 메소드 위에서 /** 입력 후 엔터하면 자동완성됨
'Tool > Eclipse' 카테고리의 다른 글
[Eclipse] 아이피 IPv6에서 IPv4로 출력 설정 (0) | 2024.02.19 |
---|---|
[Eclipse] eclipse.ini 파일로 jdk 경로 설정 (0) | 2024.02.05 |
[Eclipse] Build Path, Compiler 설정 (2) | 2024.01.29 |