이클립스로 개발시 파일 및 함수에 주석을 달아 파일 이력 정보를 관리할 필요성이 있다.
환경설정 -> java -> code style -> code templates -> comments에서 아래와 같이 설정 할 수 있다.
1.types
/**
*
* @since ${date}
* @author ${user}
* <PRE>
* ------------------------
* 개정이력
* ${date} ${user} : 최초작성
* </PRE>
*/
2. methods
/**
*
* @since ${date}
* @author ${user}
* ${tags}
*/
3. overriding methods
/**
*
* @since ${date}
* @author ${user}
* ${tags}
* ${see_to_overridden}
*/
4. delegate methods
/**
*
* @since ${date}
* @author ${user}
* ${tags}
* ${see_to_target}
*/
5. 나머지
내용 : 삭제
6. eclipse.ini 에 user name 추가 하면 위에 author에 user에 바인딩이 됨.
-Duser.name=홍길동
마지막으로 아래 체크되어 있는 automcatically 블라블라를 체크하면 파일 자동생성을 할 수 있다.
'기타' 카테고리의 다른 글
[eclipse] 이클립스 org.eclipse.mylyn.tasks.ui 멈추는 현상 (0) | 2015.01.05 |
---|---|
[eclipse] camel 표기법변환 (0) | 2014.10.26 |
[이클립스] 프로퍼티 파일 한글 깨짐 (0) | 2014.08.23 |
ai (일러스트파일) png 변환 (0) | 2014.08.13 |
[MAVEN] 명령어 (0) | 2014.08.12 |