도찐개찐

[Eclipse] 단축키 Mac Os, windows 본문

IDE/Eclipse

[Eclipse] 단축키 Mac Os, windows

도개진 2022. 7. 6. 12:37

 

이클립스 단축키
Mac Window 설명
 이동
Command+객체클릭 Ctrl+객체클릭 변수나 클래스 등을 정의한 곳으로 이동
Command+Shift+G Ctrl+Shift+G 변수나 함수 등을 레퍼런스 하는 곳으로 이동
Option+LEFT Alt+LEFT 이전 커서 위치로 이동
Option+RIGHT Alt+RIGHT 다음 커서 위치로 이동
 찾기
Command+Option+G Ctrl+Alt+G 전체 workspace에서 문자열 찾기
Command+K Ctrl+K 선택한 문자열을 파일 내에서 찾기
Command+Shift+K Ctrl+Shift+K 선택한 문자열을 파일 내에서 역순으로 찾기
 주석 
Command+Shift+/ Ctrl+Shift+/ 블록을 블록 주석으로 처리
Command+Shift+\ Ctrl+Shift+\ 블록 주석 제거
Command+/ Ctrl+/ 한줄 주석 처리 또는 제거
 자동화
Option+Shift+R Alt+Shift+R 변수나 클래스 등의 리팩토링
Command+Shift+O Ctrl+Shift+O 자동으로 import
Command+I Ctrl+I 들여쓰기 자동 수정
 구조 보기
Command+T(또는 F4) Ctrl+T(또는 F4) 클래스 Hierarchy 보기
Command+O Ctrl+O 클래스 멤버 및 변수 보기
 편집
Option+Shift+A Alt+Shift+A 상하 편집 모드로 전환
Command+Shift+X Ctrl+Shift+X 선택된 문자열을 대문자로 전환
Command+Shift+Y Ctrl+Shift+Y 선택된 문자열을 소문자로 전환
 리팩토링
Option+Shift+S R Alt+Shift+S R Getter/Setter 자동 생성 창 열기
Option+Shift+M Alt+Shift+M Method로 추출
Option+Shift+I Alt+Shift+I Method를 인라인 하기
 기타 
Command+W Ctrl+W 현재 파일 닫기
Command+Shift+W Ctrl+Shift+W 열린 파일 모두 닫기
Command+F11 Ctrl+F11 최근 실행 파일 실행
Option+Shift+ X T Alt+Shift+ X T Unit Test 실행
Command+ + / - Ctrl+ + / - 텍스트 에디터 폰트 크기 조절
 사용자 지정
Command+Shift+P Ctrl+Shift+P 새로운 패키지 생성
Command+Shift+M Ctrl+Shift+M 새로운 클래스 생성

출처: https://ppomelo.tistory.com/68 [ppomelo 🍐:티스토리]

728x90
Comments