ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Eclipse 주석 설정
    Web (Spring ) 2016. 8. 4. 00:21

    주석설정

    /* 자신의 코드 정리에 용이하며, 보기도 깔끔해서 저는 자주 사용합니다.*/

    Window-> Preferences-> Java-> Code Style-> Code Templates-> Comments

    Type - Edit

    1
    2
    3
    4
    5
    6
    7
    8
    /**
      * @FileName : ${file_name}
      * @Project : ${project_name}
      * @Date : ${date} 
      * @작성자 : ${user}
      * @변경이력 :
      * @프로그램 설명 :
      */


    Type - Methods

    1
    2
    3
    4
    5
    6
    7
    8
    /**
      * @Method Name : ${enclosing_method}
      * @작성일 : ${date}
      * @작성자 : ${user}
      * @변경이력 : 
      * @Method 설명 :
      * ${tags}
      */



    ${} 내용설명

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    /**
      ${date} : Current date (현재 날짜)
      ${dollar} : The dollar symbol (달러문양)
      ${enclosing_type} : The type enclosing the method (선택된 메소드의 타입)
      ${file_name} : Name of the enclosing compilation (선택된 편집파일 이름)
      ${package_name} : Name of the enclosing package (선택된 패키지 이름)
      ${project_name} : Name of the enclosing project (선택된 프로젝트 이름)
      ${tags} : Generated Javadoc tags (@param, @return...) (Javedoc 태그 생성)
      ${time} : Current time (현재 시간)
      ${todo} : Todo task tag ('해야할일'태그 생성)
      ${type_name} : Name of the current type (현재 타입의 이름)
      ${user} : User name (사용자 이름)
      ${year} : Current year (현재 연도)
    */
          



    Alt + Shift + J 적용



    'Web (Spring )' 카테고리의 다른 글

    [스프링시큐리티] DB를 사용한 로그인인증 & 권한 처리  (0) 2016.08.04
    Eclipse Theme 설정  (0) 2016.08.04
    Spring + MyBatis 연동방법  (0) 2016.08.04
    [Hack] 개발 폰트  (0) 2016.08.03
    Spring MVC 초기설정  (0) 2016.08.03
Designed by Tistory.