이클립스에서 개발중 불편한점이 또 하나 생겼습니다.
Visual Studio에서는 코드가 길어질 경우 #region #endrgion 을 사용하여 접을수가 있는데요..
이클립스에서는 기본적으로 이러한 기능을 제공하지 않네요.
검색해 보니 이와 유사하게 지원하는 플러그인이 있어서 적용해 보았습니다.
- eclipse-folding-plugin.tar.gz 를 다운로드하여 이클립스 폴더에 압축 해제
- 이클립스 재시작
- "Windows->Preferences"
- "Java->Editor->Folding"
- "Enable folding" 체크
- "Select folding to use:" 옵션에서 "Coffee Bytes Java Folding" 선택
- "General"탭에서 "General Fold Setting:" 옵션에서 "User Defined Regions" 체크
- "User Defined Regions"탭에서 General Settings" 옵션 수정
- 이클립스 재시작
- 코드에서 //region //endregion 사용
eclipse-folding-plugin.tar.gz Download



출처 : http://kosiara87.blogspot.in/2011/12/how-to-install-coffee-bytes-plugin-in.html



