이클립스 단축키
CTRL + Q: 마지막 편집 위치로 이동
F3: 함수 점프
Alt + 방향키(← / →): 이전 위치이동
Ctrl + '+/-' 또는 Ctrl + Shift + '+/-': 폰트 사이즈 변경
Ctrl + F11 : 실행(Run)
Ctrl + H: 파일검색(java, jsp 등)
Ctrl + Shift + R: 리소스 검색(jsp 등) => 메뉴>Navigate>Open Resource
F3 또는 Ctrl+객체클릭 : (Open Declaration)선언위치로 이동 (메뉴 > Navigate)
Ctrl + T(또는 F4) : (Open Type Hierarchy)interface 또는 abstract 선언위치로 이동 (메뉴 > Navigate)
Ctrl + Alt + H : (Open Call Hierarchy)함수 및 변수를 call하는 계층 보기 (메뉴 > Navigate)
Ctrl + Shift + P : 괄호쌍 찾기, 또는 괄호 앞뒤에서 더블클릭
Alt + Shift + 방향키 : (jsp,html)태그영역 블록설정
Ctrl + I : 들여쓰기 자동 수정 (메뉴 > Source)
Ctrl + Shift + F : 코드 자동정렬 (메뉴 > Source)
Ctrl + Alt + 방향키 : 현재줄 복사(한줄복사, 라인복사)
Ctrl + D : 현재줄 삭제(한죽삭제)
Alt + 방향키 : 현재줄 이동(한줄이동)
Ctlr + L : Go to Line (메뉴 > Navigate)
Ctrl + K : 다음찾기(Edit > Find Next)
Ctrl + Shift + K : 이전찾기(Edit > Find Previous)
Ctrl + E : 에디터 탭 이동 한번에 확인하기
Ctrl + Tab : 이전 작업창(에디터) 이동 -> 단축키 설정시 검색어: Next Editor
Ctrl + M : 현재 영역 최대화 (전체화면토글)
Ctrl + Num +/- : 코드블럭 펼치기/좁히기 (에디터 창에 +/- 표시있는 곳에서 동작)
Ctrl + +/- : 글자크기(폰트크기) 크게/작게
Ctrl + Shift + Num +/- : 글자크기(폰트크기) 크게/작게
Ctrl + PageDown : 다음 에디터 탭 이동
Ctrl + PageUP : 이전 에디터 탭 이동
Ctrl + / : 한줄 주석 처리 또는 제거
Ctrl + Shift + C : 한줄 주석 (메뉴 > Source)
See Also이클립스 사용법 및 TIP 정리, 단축키Ctrl + Shift + / : 블록을 블록 주석으로 처리
Ctrl + Shift + \ : 블록 주석 제거
우클릭 + R : Console 창 Clear
F2 : 객체 및 메서드에 대한 툴팁 설명 (메뉴 > Edit > Show Tooltip Description)
컴파일 에러의 빨간줄에 커서를 갖져다가 이 키를 누르면 에러의 원인에 대한 힌트를 제공
Alt + Shift + Y : 자동줄바꿈(Word Wrap) => 빠른아이콘 있음
Alt + Shift + A : 컬럼 블럭지정 => 빠른아이콘 있음
https://effectiveprogramming.tistory.com/entry/Eclipse-단축키
http://www.silverwolf.co.kr/eclipse/8739?ckattempt=1
https://dpdpwl.tistory.com/135
이클립스 괄호찾기(아래 방법중 택1)
메뉴 > Navigate > Go To > Matching Character
단축키: Ctrl + Shift + p
괄호 시작/끝 부분에서 더블클릭하면 해당영역 블록됨
이클립스 사용자 단축키 설정
메뉴 > Window > Preferences > General > Keys에서 원하는 기능 검색
Binding 박스에 원하는 단축키 설정 => 충돌시 오른쪽 Conflicts 박스에 표시됨
이클립스 괄호색변경
https://dpdpwl.tistory.com/135
이클립스 우측 하단에 힙 메모리(Heap Memory) 상태 표시
메뉴 > Window > Preferences > General > Show heap status(클릭)
이클립스 내 루프백 IP 주소가 IVv6 형식(0:0:0:0:0:0:0:1)로 찍힐 경우 해결
메뉴 > Run > Run Configurations > Arguments 탭에서
VM arguments 영역에 맨아래에 다음 내용 추가: -Djava.net.preferIPv4Stack=true
https://ndb796.tistory.com/m/99?category=986634
이클립스 서버 시작 타임아웃(Timeout) 오류 해결법
오류 메시지: Server Tomcat v8.5 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
이클립스 Server 창에 떠있는 Tomcat 더블클릭 > Timeout 탭에서 시간 변경
예) Start(90초), Stop(30초)
https://rainny.tistory.com/118
이클립스 톰캣(Tomcat) 연동 후에 JSP 컴파일되는 위치
https://blog.naver.com/blash100/70182523496
이클립스에서 내장(기본) class 소스 보기(Attached Source)
첫번째. 설정창에서 설정하기
Eclipse 메뉴에서 Window -> Preferences -> java -> Installed JREs -> jdk 1.x~~ 선택후 Edit버튼 클릭
JRE System libraries 항목중 rt.jar항목을 선택후 Source Attachment 클릭
External location 의 Path를 java설치경로에 있는 src.zip파일 선택후 OK 누르면 끝
두번째. 프로젝트의 JRE System Library에서 설정하기
Eclipse 프로젝트에서 JRE System Library항목을 확인할수있다. 그 하위 목록에 rt.jar파일을 찾을수있는데, 우클릭후 Properties클릭
마찬가지로 External location 의 Path를 java설치경로에 있는 src.zip파일 선택후 OK 누르면 끝
세번째. 소스 확인시 Path연결 버튼에서 설정하기.
Class File Editor에서 Source not found 라고 나오면서 Source attachment does not contains the source for the file ~~~~.class 라고 설명이 나오면서 Source attachment를 변경할수있다는 설명이 나온다. Change Attached Source 버튼 클릭
마찬가지로 External location 의 Path를 java설치경로에 있는 src.zip파일 선택후 OK 누르면 끝
이클립스에서 코드창 왼쪽에 나타나는 노란색화살표 단어 검색을 통해 검색된 라인임
Search 로그 삭제하면 노란색화살표 없어짐
동일파일 화면분할 보기
방법1) 메뉴 > Window > Editor > Toggle Split Editor(Vertical) "Ctrl + {"
방법2) 메뉴 > Window > Editor > Clone
https://okky.kr/article/439729
이클립스 파일 아이콘에 S표시가 뭔가요?
스프링 관리 파일이란 의미
web 프로젝트 URL 절대경로 변경 방법
1안) Servers > Tomcat(더블클릭) > Modules 탭 > Path 수정하면 됨
2안) 각 프로젝트 > Properties > Web Project Settings > Context root 수정하면 됨
이클립스에서 소스코드 수정후 Deployment Location에 업데이트 안될경우
보통은 서버 On 상태에서 소스코드(java, xml 등) 수정하면 자동으로 Deployment 되야되는데 안되는 경우는 아래처럼 하자
소스코드 수정후 프로젝트 root 폴더에서 Refresh(F5) 후
메뉴 > Project > Build All (Ctrl + B) 하면 해결됨
이클립스에서 톰캣 로그 한글 -> 영어로 보이게 하기
이클립스에서 설정하는 방법
톰캣에서 설정하는 방법
이클립스 SVN 소스코드 history 보기 및 비교
이클립스 pakage Explorer 탭에서
해당 소스코드 우클릭 > Compare With > Latest from Repository
https://wakestand.tistory.com/492
이클립스 Search 새창으로 검색하는 방법
Ctrl + H 검색후 결과창에서 <Pin the Search View> 아이콘 클릭하면 현재 결과창 고정되고
다시 Ctrl + H 검색하면 새 Search 창에서 검색됨
https://wakestand.tistory.com/494
이클립스 이전에 Search한 내용 확인하는 방법
Ctrl + H 검색후 결과창에서 <Show Previous Searches> 아이콘 클릭하면 검색 내역 히스토리 나옴