Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Eclipse 

단축키 확인 및 변경
Eclipse의 모든 단축키는 Window >> Preferences >> General >> Keys 메뉴에서 ^*
확인 및 변경이 가능하다. 그 동안 다른 툴에서 자신의 손에 익숙한 단축키들이 있다면
이 메뉴에서 단축키들을 변경하는 것이 가능하다.

현재 기준(2021-08-20)으로 Eclipse IDE 최신버전에 대한 Keys를 모아서, 엑셀로 저


장한 파일을 아래에 공유해드립니다.
글의 맨 하단에 엑셀파일을 다운로드하실 수 있도록 준비했습니다.

Java Editor 단축키


Ctrl + shift + B : 현재 커서위치에 Break point설정/해제
Ctrl + Shift + F : 소스코드 자동 정리
Ctrl + Shift + G : 현재 커서가 위치한 특정 메써드나 객체, 필드를 Reference하고 있
는 곳을 찾는다.
Ctrl + Shift + J : 검색할 단어를 입력하면서 실시간으로 거꾸로 검색
Ctrl + Shift + K : 이전찾기 (또는, 찾고자하는 문자열을 블럭으로 설정한 후 역으로
찾고자 하는 문자열을 찾아감.)
Ctrl + Shift + L : 단축키 보기 Hint
Ctrl + Shift + M : 캐럿이 위치한 대상에 필요한 특정 클래스 Import 시키기
Ctrl + Shift + O : 소스에 필요한 패키지를 자동으로 Import 시키기
Ctrl + shift + R : Open Resource. 모든 프로젝트에서 파일명 검색.

Ctrl + Shift + S : 열려진 모든파일 저장 및 컴파일


Ctrl + Shift + / : 선택 영역 Block Comment 설정
Ctrl + Shift + \ : 선택 영역 Block Comment 제거
Ctrl + Alt + R

Ctrl + Alt + up/down : 한줄 duplicate


Ctrl + F11 : 실행
Ctrl + 1 : Quick Fix. 에러가 발생했을 경우 Quick Fix를 통해 쉽게 해결이 가능하다.
(Rename에 주로 사용)
Ctrl + 2 + R : Rename (리팩토링)
Ctrl + / : 한줄 또는 선택영역 주석처리 / 제거
Ctrl + . : 다음오류부분으로 가기
Ctrl + , : 이전오류부분으로 가기 자유인을 위하여~… 구독하기
Ctrl + D : 한줄삭제
Ctrl + H : Find 및 Replace
Ctrl + I : 소스 깔끔 정리(인덴트 중심의 자동구문정리)
Ctrl + J : 검색할 단어를 입력하면서 실시간으로 검색
Ctrl + K : 다음찾기(또는, 찾고자 하는 문자열을 블럭으로 설정한 후 키를 누른다.)
Ctrl + L : 특정줄번호로 가기
Ctrl + N : 새로운 파일 및 프로젝트 생성
Ctrl + O : Outline 창 열기
Ctrl + Q : 마지막 편집위치로 가기
Ctrl + S : 저장 및 컴파일
Ctrl + space : 어휘의 자동완성(Content Assistance)
Ctrl + 객체클릭(혹은 F3) : 클래스나 메소드 혹은 멤버를 정의한 곳으로 이동(Open D
eclaration)
Alt + Shift + UP : 커서를 기준으로 토큰단위 블럭지정 (괄호의 열고 닫기 쌍 확인에
유용)  ==> 괄호의 뒤에 마우스 커서를 위치시킨 후 더블클릭한 것과 같은 효과
Alt + Shift + DOWN : 커서를 기준으로 토큰단위 블럭해제
Alt + Shift + J : 설정해 둔 기본주석을 자동으로 달기 (메소드나 멤버변수에 포커스
두고 실행)
Alt + UP,DOWN : 현재 줄 위치 이동
Alt + Shift + 방향 : 선택
Alt + Shift + R : Rename
Alt + / : Word Completion
Alt + ->, Alt + <- : 이후, 이전
해당 프로젝트에서 Alt + Enter : Project 속성
sysout > Ctrl + Space : System.out.println();
try > Ctrl + Space : 기본 try-catch문 완성
for > Ctrl + Space : 기본 for문 완성
템플릿을 수정, 추가 : Preferences > java > editor > Templates
F4 : 클래스명을 선택하고 누르면 해당 클래스의 Hierarchy 를 볼 수 있다.
F5 : step into
F6 : step over
F8 : 디버깅 계속
F11 : 디버깅 시작
F12 : 에디터로 커서이동 자유인을
===== 템플릿 사용 =====

1. sysout 입력한 후 Ctrl + Space 하면 System.out.println(); 으로 바뀐다.


2. try 입력한 후 Ctrl + Space 하면 try-catch 문이 완성된다.
3. for 입력한 후 Ctrl + Space 하면 여러가지 for 문을 완성할 수 있다.
4. 템플릿을 수정하거나 추가하려면 환경설정/자바/편집기/템플리트 에서 할 수 있다.
===== 메소드 쉽게 생성하기 =====
1. 클래스의 멤버를 일단 먼저 생성한다.
2. override 메소드를 구현하려면 : 소스->메소드대체/구현 에서 해당 메소드를 체크
한다.
3. 기타 클래스의 멤버가 클래스의 오브젝트라면 : 소스->위임메소드 생성에서 메소드
를 선택한다.
===== organize import =====
1. 자바파일을 여러개 선택한 후 소스 -> 가져오기 체계화 해주면 모두 적용된다.
===== 소스 코드 형식 및 공통 주석 설정 =====

1. 환경설정 -> 자바 -> 코드 스타일 -> 코드 포멧터 -> 가져오기 -> 프로파일.xml 을 불
러다가 쓰면 된다.
2. 또한 다수의 자바파일에 프로파일을 적용하려면 패키지 탐색기에서 패키지를 선택
한 후 소스 -> 형식화를 선택하면 된다.
3. 환경설정 -> 자바 -> 코드 스타일 -> 코드 템플리트 -> 가져오기 -> 템플리트.xml 을
불러다가 쓰면 된다. 

Window 이동
F10 : 메뉴창을 활성화
Ctrl + F8 : 다음 Perspective로 이동
Ctrl + N : 새로운 파일 및 프로젝트 생성.
Ctrl + Shift + Down : Java Editor에서 다음 member로 이동.
Ctrl + F7 : 다음 View로 이동.
Ctrl + Shift + F7 : 이전 View로 이동.
Alt + <- : 이전 작업 화면
Alt + -> : 다음 작업 화면
F12 : 컴파일 중 에러등으로 포커스가 다른데로 갔을 때 Editor 로 커서 이동
자유인을 위하여~… 구독하기
Ctrl + 1 : 컴파일 에러가 발생한 곳에서 Ctrl + 1을 누를 경우 컴파일 에러에 대한 해결
책을 제시

디버깅 단축키
CTRL + Shift + B : 현 커서의 위치에 브레이크 포인터 설정/해제
F11 : 디버깅 시작
F8 : 디버깅 계속
F6 : 한줄씩 실행(Step Over)
F5 : 한줄씩 실행하되 함수일 경우 그 함수 내부로 들어감(Step Into)
CTRL + R : 현재 라인까지 실행(Run to Line)

Refactoring 단축키
Shift + ALT + 알파벳 : Refactoring을 위한 단축키 임.

RUN 단축키
Ctrl + F11 : 이전에 실행되었던 Run파일 실행.

Comments  (Hide)

Ctrl + 1
Ctrl + O : 모든 클래스, 프로퍼티 트리 보기, 선택가능
Ctrl + Shift + L : 단축키 보기 (한 번 더 누르면 키 설정메뉴로 들어감)
Ctrl + Shift + T : 클래스 찾기

Maven 단축키
자유인을 위하여~… 구독하기
Alt + F5 : Maven Update Project
Ctrl + Alt + P : Select Maven Profiles...

Category별 단축키

Category Command Key Sequence When


Edit Content Assist Ctrl+Space In Dialogs and
Windows
Edit Context Information Ctrl+Shift+Spa
ce In Windows

Edit Copy Ctrl+C In Dialogs and


Windows
Edit Copy Ctrl+Insert In Dialogs and
Windows
Edit Cut Ctrl+X In Dialogs and
Windows
Edit Cut Shift+Delete In Dialogs and
Windows
Edit Delete Delete In Windows
Edit Find Next Ctrl+K Editing Text
Edit Find Previous Ctrl+Shift+K Editing Text
Edit Find and Replace Ctrl+F In Windows
Edit Incremental Find Ctrl+J Editing Text
Edit Incremental Find Ctrl+Shift+J Editing Text
Reverse
Edit Paste Ctrl+V In Dialogs and
Windows
Edit Paste Shift+Insert In Dialogs and
Windows
Edit Quick Diff Toggle Ctrl+Shift+Q Editing Text
Edit Quick Fix Ctrl+1 In Windows
Edit Redo Ctrl+Y In Windows 자유인을 위하여~… 구독하기
Edit Restore Last Selection Alt+Shift+Dow Editing Java
n Source
Edit Select All Ctrl+A In Dialogs and
Windows
Edit Select Enclosing Alt+Shift+Up Editing Java
Element Source
Edit Select Next Element Alt+Shift+Righ
t
Editing Java
Source
Edit Select Previous Alt+Shift+Left Editing Java
Element Source
Edit Show Tooltip F2 Editing Java
Description Source
Edit Toggle Insert Mode Ctrl+Shift+Inse
rt Editing Text
Edit Undo Ctrl+Z In Windows
Edit Word Completion Alt+/ Editing Text
File Close Ctrl+F4 In Windows
File Close Ctrl+W In Windows
File Close All Ctrl+Shift+F4 In Windows
File Close All Ctrl+Shift+W In Windows
File New Ctrl+N In Windows
File New menu Alt+Shift+N In Windows
File Print Ctrl+P In Windows
File Properties Alt+Enter In Windows
File Refresh F5 In Windows
File Rename F2 In Windows
File Save Ctrl+S In Windows
File Save All Ctrl+Shift+S In Windows
Help Close User Assistance Ctrl+F4 In Dialogs
Tray
Help Close User Assistance Ctrl+W In Dialogs
Tray 자유인을 위하여~… 구독하기
Navigate Backward History Alt+Left In Windows
Navigate Forward History Alt+Right In Windows
Navigate Go to Line Ctrl+L Editing Text
Navigate Go to Matching Ctrl+Shift+P Editing Java
Bracket Source
Navigate Go to Next Member Ctrl+Shift+Dow
n
Editing Java
Source
Navigate Go to Previous Ctrl+Shift+Up Editing Java
Member Source
Navigate Last Edit Location Ctrl+Q In Windows
Navigate Next Ctrl+. In Windows
Navigate Open Call Hierarchy Ctrl+Alt+H In Windows
Navigate Open Declaration F3 In Windows
Navigate Open External Shift+F2 In Windows
Javadoc
Navigate Open Resource Ctrl+Shift+R In Windows
Navigate Open Structure Ctrl+F3 Editing Java
Source
Navigate Open Type Ctrl+Shift+T In Windows
Navigate Open Type Hierarchy F4 In Windows
Navigate Open Type in Ctrl+Shift+H In Windows
Hierarchy
Navigate Previous Ctrl+, In Windows
Navigate Quick Hierarchy Ctrl+T Editing Java
Source
Navigate Quick Outline Ctrl+O Editing Java
Source
Navigate Show In menu Alt+Shift+W In Windows
Project Build All Ctrl+B In Windows
Refactor - Change Method Alt+Shift+C In Windows
Java Signature
Refactor - Extract Local Variable Alt+Shift+L In Windows
Java 자유인을 위하여~… 구독하기
Refactor - Extract Method Alt+Shift+M In Windows
Java
Refactor - Inline Alt+Shift+I In Windows
Java
Refactor - Move - Refactoring  Alt+Shift+V In Windows
Java
Refactor - Rename - Refactoring  Alt+Shift+R In Windows
Java
Refactor - Show Refactor Quick Alt+Shift+T In Windows
Java Menu
Run/Debu Add Memory Block Ctrl+Alt+M In Memory View
g
Run/Debu Debug Ant Build Alt+Shift+D,Q In Windows
g
Run/Debu Debug Eclipse Alt+Shift+D,E In Windows
g Application
Run/Debu Debug Equinox Alt+Shift+D,X In Windows
g Framework
Run/Debu Debug JUnit Plug-in Alt+Shift+D,P In Windows
g Test
Run/Debu Debug JUnit Test Alt+Shift+D,T In Windows
g
Run/Debu Debug Java Applet Alt+Shift+D,A In Windows
g
Run/Debu Debug Java Alt+Shift+D,J In Windows
g Application
Run/Debu Debug Last Launched F11 In Windows
g
Run/Debu Debug SWT Alt+Shift+D,S In Windows
g Application
Run/Debu Display Ctrl+Shift+D In Dialogs and
g Windows
Run/Debu EOF Ctrl+Z In Console
g
Run/Debu Execute Ctrl+U In Windows
g 자유인을 위하여~… 구독하기
Run/Debu Go to Address Ctrl+G In Table
g MemoryRenderi
ng
Run/Debu Inspect Ctrl+Shift+I In Dialogs and
g Windows
Run/Debu Next Memory Monitor Ctrl+Alt+N In Memory View
g
Run/Debu Resume F8 Debugging
g
Run/Debu Run Ant Build Alt+Shift+X,Q In Windows
g
Run/Debu Run Eclipse Alt+Shift+X,E In Windows
g Application
Run/Debu Run Equinox Alt+Shift+X,X In Windows
g Framework
Run/Debu Run JUnit Plug-in Alt+Shift+X,P In Windows
g Test
Run/Debu Run JUnit Test Alt+Shift+X,T In Windows
g
Run/Debu Run Java Applet Alt+Shift+X,A In Windows
g
Run/Debu Run Java Application Alt+Shift+X,J In Windows
g
Run/Debu Run Last Launched Ctrl+F11 In Windows
g
Run/Debu Run SWT Application Alt+Shift+X,S In Windows
g
Run/Debu Run to Line Ctrl+R Debugging
g
Run/Debu Step Into F5 Debugging
g
Run/Debu Step Into Selection Ctrl+F5 Debugging
g
Run/Debu Step Over F6 Debugging
g
Run/Debu Step Return F7 Debugging
g 자유인을 위하여~… 구독하기
Run/Debu Toggle Line Ctrl+Shift+B In Windows
g Breakpoint
Run/Debu Toggle Memory Ctrl+T In Memory View
g Monitors Pane
Run/Debu Toggle Step Filters Shift+F5 In Windows
g
Search Declaration in Ctrl+G In Windows
Workspace
Search Find Text in Ctrl+Alt+G In Windows
Workspace
Search Open Search Dialog Ctrl+H In Windows
Search References in Ctrl+Shift+G In Windows
Workspace
Search Show Occurrences in Ctrl+Shift+U In Windows
File Quick Menu
Search Quick Search Ctrl+Alt+Shift+ In Windows
L
Source Add Block Comment Ctrl+Shift+/ Editing Java
Source
Source Add Import Ctrl+Shift+M Editing Java
Source
Source Add Javadoc Alt+Shift+J In Windows
Comment
Source Format Ctrl+Shift+F Editing Ant
Buildfiles
Source Format Ctrl+Shift+F Editing Java
Source
Source Indent Line Ctrl+I Editing Java
Source
Source Open External Shift+F2 Editing Ant
Documentation Buildfiles
Source Organize Imports Ctrl+Shift+O In Windows
Source Quick Assist - Assign Ctrl+2,F Editing Java
to field Source
Source Quick Assist - Assign Ctrl+2,L Editing Java
to local variable Source 자유인을 위하여~… 구독하기
Source Quick Assist - Rename Ctrl+2,R Editing Java
in file Source
Source Remove Block Ctrl+Shift+\ Editing Java
Comment Source
Source Remove Occurrence
Annotations Alt+Shift+U Editing Java
Source
Source Rename In File Alt+Shift+R Editing Ant
Buildfiles
Source Show Source Quick Alt+Shift+S In Windows
Menu
Source Show Tooltip F2 Editing Ant
Description Buildfiles
Source Surround With Quick Alt+Shift+Z In Windows
Menu
Source Toggle Ant Mark Alt+Shift+O Editing Ant
Occurrences Buildfiles
Source Toggle Comment Ctrl+/ Editing Java
Source
Source Toggle Comment Ctrl+7 Editing Java
Source
Source Toggle Comment Ctrl+Shift+C Editing Java
Source
Source Toggle Mark Alt+Shift+O Editing Java
Occurrences Source
Text Collapse Ctrl+Numpad_ Editing Text
Editing Subtract
Text Collapse All Ctrl+Shift+Nu Editing Text
Editing mpad_Divide
Text Copy Lines Ctrl+Alt+Down Editing Text
Editing
Text Delete Line Ctrl+D Editing Text
Editing
Text Delete Next Word Ctrl+Delete Editing Text
Editing
Text Delete Previous Word Ctrl+Backspac Editing Text
Editing e 자유인을 위하여~… 구독하기
Text Delete to End of Line Ctrl+Shift+Dele Editing Text
Editing te
Text Duplicate Lines Ctrl+Alt+Up Editing Text
Editing
Text Expand Ctrl+Numpad_ Editing Text
Editing Add
Text Expand All Ctrl+Numpad_ Editing Text
Editing Multiply
Text Insert Line Above Ctrl+Shift+Ent Editing Text
Editing Current Line er
Text Insert Line Below Shift+Enter Editing Text
Editing Current Line
Text Line End End Editing Text
Editing
Text Line Start Home Editing Text
Editing
Text Move Lines Down Alt+Down Editing Text
Editing
Text Move Lines Up Alt+Up Editing Text
Editing
Text Next Word Ctrl+Right Editing Text
Editing
Text Previous Word Ctrl+Left Editing Text
Editing
Text Reset Structure Ctrl+Shift+Nu Editing Text
Editing mpad_Multiply
Text Scroll Line Down Ctrl+Down Editing Text
Editing
Text Scroll Line Up Ctrl+Up Editing Text
Editing
Text Select Line End Shift+End Editing Text
Editing
Text Select Line Start Shift+Home Editing Text
Editing
Text Select Next Word Ctrl+Shift+Rig Editing Text
Editing ht 자유인을 위하여~… 구독하기
Text Select Previous Word Ctrl+Shift+Left Editing Text
Editing
Text Text End Ctrl+End Editing Text
Editing
Text Text Start Ctrl+Home Editing Text
Editing
Text To Lower Case Ctrl+Shift+Y Editing Text
Editing
Text To Upper Case Ctrl+Shift+X Editing Text
Editing
Text Toggle Folding Ctrl+Numpad_ Editing Text
Editing Divide
Text Toggle Overwrite Insert Editing Text
Editing
Views Breakpoints Alt+Shift+Q,B In Windows
Views Cheat Sheets Alt+Shift+Q,H In Windows
Views Console Alt+Shift+Q,C In Windows
Views Java Declaration Alt+Shift+Q,D In Windows
Views Java Package Alt+Shift+Q,P In Windows
Explorer
Views Java Type Hierarchy Alt+Shift+Q,T In Windows
Views Javadoc Alt+Shift+Q,J In Windows
Views Search Alt+Shift+Q,S In Windows
Views Show View (View: Alt+Shift+Q,O In Windows
Outline)
Views Show View Alt+Shift+Q,Q In Windows
Views Show View (View: Alt+Shift+Q,X In Windows
Problems)
Views Synchronize Alt+Shift+Q,Y In Windows
Views Variables Alt+Shift+Q,V In Windows
Window Activate Editor F12 In Windows
Window Maximize Active View
or Editor Ctrl+M In Windows
자유인을 위하여~… 구독하기
Window Next Editor Ctrl+F6 In Windows
Window Next Perspective Ctrl+F8 In Windows
Window Next View Ctrl+F7 In Windows
Window Previous Editor Ctrl+Shift+F6 In Windows
Window Previous Perspective Ctrl+Shift+F8 In Windows
Window Previous View Ctrl+Shift+F7 In Windows
Window Quick Switch Editor Ctrl+E In Windows
Window Show Key Assist Ctrl+Shift+L In Dialogs and
Windows
Window Show Ruler Context Ctrl+F10 Editing Text
Menu
Window Show System Menu Alt+- In Windows
Window Show View Menu Ctrl+F10 In Windows
Window Switch to Editor Ctrl+Shift+E In Windows
 

Eclipse Keymap - shortcut keys 자유인을 위하여~… 구독하기


Quick Search : Ctrl + Alt + Shift + L

Eclipse 단축키 모음 엑셀 다운로드


현재 기준(2021-08-20)으로 Eclipse IDE 최신버전에 대한 Keys를 모아서, 엑셀로 저
장한 파일을 아래에 공유해드립니다.
아래의 엑셀파일을 다운로드하여 참고하시기 바랍니다.

Eclipse_keys_20210820.xlsx
0.03MB

자유인을 위하여~… 구독하기

You might also like