Essential Shortcuts
The list of shortcuts in Eclipse is fairly long yet readily available. In fact starting with Eclipse 3.1 the full list of shortcuts can be displayed from anywhere via Ctrl+Shift+L. Nevertheless, call it information fatigue or simply a matter of style, deserving shortcuts frequently remain overlooked.
Below is a list of those shortcuts I find essential. What I mean by that is if you don't use them then you probably need additional time to execute essential everyday tasks and are not very comfortable navigating around.
So without further ado here is the list:
| Ctrl+Shift+T | Find Java Type | Start typing the name and the list gets smaller. Try typing the capital letters of the class only (e.g. type "CME" to find "ConcurrentModificationException") 클래스 명 찾는 창 띄우기 |
| Ctrl+Shift+R | Find Resource | Use this to look for XML files, text files, or files of any other type. which are in your workspace. 프로젝트 내의 화일 찾는 창 띄우기 |
| Ctrl+E | Open Editor Drop-Down | Presents a popup window listing currently opened files. Start typing to limit the list or simply use the down arrow key. |
| Ctrl+O | Quick Outline | Use this to find a method or a member variable in a class. Start typing to limit the choices. Press Ctrl+O a second time to include inherited methods. 퀵 아웃라인 (메소드, 필드 리스트) |
| Ctrl+Space | Content Assist | Context sensitive content completion suggestions while editing Java code. |
| Ctrl+Shift+Space | Context Information | If typing a method call with several parameters use this to show the applicable parameter types. The current parameter where the cursor is will be shown in bold. Ctrl + Space 와 다르게 메소드만 찾아준다. |
| Ctrl+Shift+O | Organize Imports | After typing a class name use this shortcut to insert an import statement. This works if multiple class names haven't been imported too. |
| F3 | Open Declaration | Drills down to the declaration of the type, method, or variable the cursor is on. This works much like a browser hyperlink. 클래스, 메소드, 필드의 선언부를 보여준다. (jar 내의 클래스의 경우 보이지않음) |
| Alt+Left | Backward History | This works like a browser's Back button. |
| Alt+Right | Forward History | This works like a browser's Forward button |
| Ctrl+L | Go to Line | Go to a specific line number. |
| F4 | Open Type Hierarchy | Show the type hierarchy (downward tree) or the supertype hierarchy (upward tree). |
| Ctrl+Alt+H | Open Call Hierarchy | Show where a method is called from. In the Call Hierarchy view keep expanding the tree to continue tracing the call chain. 메소드 이름에서 누르면 그 메소드 쓰는곳을 모두 보여준다. |
| Ctrl+H | Open Search Dialog | Opens a search dialog with extensive search options for Java packages, types, methods, and fields. |
| Alt+Shift+R | Rename - Refactoring | Use this to rename type, method, or field. All existing references will be refactored as well. 클래스명, 메소드명, 필드명 위에서 누르면, 이름을 바꿀수 있다. 참조하는 곳도 모두 바꿔준다. |
| Alt+Shift+L | Extract Local Variable | Use this to create a local variable from the selected expression. This is useful for breaking up larger expressions to avoid long lines. 선택한 코드를 지역변수로 선언해서 참조해준다. |
| Alt+Shift+M | Extract Method | Use this to extract a new method from existing code. The parameter list and return type will be automatically created. 선택한 코드를 메소드로 생성해준다. |
그리고 추가
Ctrl+Shift+G 클래스, 메소드, 필드명 위에서 누르면 참조하는 곳을 모두 찾아준다.
다들 아시겠지만, 혹시 모르시는 분도 계실까봐 올렸습니다.
정말 편하게 자주 쓰는 것이, Alt_Shift_R, Ctrl_Shift_G 두가지 입니다.
그리고, 저는 안쓰고 있었지만, 쓰면 정말 좋을 것 같은것이 Alt+Shift+M 입니다.
안쓰고 계셨다면 한번 써보시길..
출처 : http://www.androidpub.com/index.php?mid=android_dev_info&document_srl=1874345



최근 덧글