2013. 1. 9. 16:20
Dev Environment/JetBrains, Eclipse
Eclipse사용자가 IntelliJ IDEA로 옮겨 갈 때 가장 힘든 부분이 단축키 찾는 것이 아닐까 한다. 요약해 보자
1) 프로젝트의 참조 Libraries 관리 : ctrl + alt + shift + s (설정참조)
2) JetBrains Wiki (참조)
Shortcut | Description |
---|---|
Alt+F1 | Switch between views (Project, Structure, etc.). |
Ctrl+Tab | Switch between the tool windows and files opened in the editor. |
Alt+Home | Show the Navigation bar. |
Ctrl+J | Insert a live template. |
Ctrl+Alt+J | Surround with a live template. |
F4 | Edit an item from the Project or another tree view. |
Alt+Enter | Use the suggested quick fix. |
Ctrl+Slash or Ctrl+Divide Ctrl+Shift+Slash orCtrl+Shift+Divide | Comment or uncomment a line or fragment of code with the line or block comment. |
Ctrl+N Ctrl+Shift+N | Find class or file by name. |
Ctrl+D | Duplicate the current line or selection. |
Ctrl+W and Ctrl+Shift+W | Incremental expression selection. |
Ctrl+F or Alt+F3 | Find text string in the current file. |
Ctrl+Shift+F | Find in the current folder. |
Ctrl+Shift+F7 | Quick view the usages of the selected symbol. |
Ctrl+Add or Ctrl+Equals Ctrl+Subtract or Ctrl+Minus | Expand or collapse a code block. |
Ctrl+Space | Invoke code completion. |
Ctrl+Shift+Enter | Smart statement completion. |
3) Eclipse와 IntelliJ 비교 키 (참조)
Eclipse | IntelliJ IDEA | Description |
F4 | ctrl+h | show the type hierarchy |
ctrl+alt+g | ctrl+alt+F7 | find usages |
ctrl+shift+u | ctrl+f7 | finds the usages in the same file |
alt+shift+r | shift+F6 | rename |
ctrl+shift+r | ctrl+shift+N | find file / open resource |
ctrl+shift+x, j | ctrl+shift+F10 | run (java program) |
ctrl+shift+o | ctrl+alt+o | organize imports |
ctrl+o | ctrl+F12 | show current file structure / outline |
ctrl+shift+m | ctrl+alt+V | create local variable refactoring |
syso ctrl+space | sout ctrj+j | System.out.println(“”) |
alt + up/down | ctrl + shift + up/down | move lines |
ctrl + d | ctrl + y | delete current line |
??? | alt + h | show subversion history |
ctrl + h | ctrl + shift + f | search (find in path) |
“semi” set in window-> preferences | ctrl + shift + enter | if I want to add the semi-colon at the end of a statement |
ctrl + 1 or ctrl + shift + l | ctrl + alt + v | introduce local variable |
alt + shift + s | alt + insert | generate getters / setters |
ctrl + shift + f | ctrl + alt + l | format code |
ctrl + y | ctrl + shift + z | redo |
ctrl + shift + c | ctrl + / | comment out lines (my own IDEA shortcut definition for comment/uncomment on german keyboard layout on laptop: ctrl + shift + y) |
ctrl + alt + h | ctrl + alt + h (same!) | show call hierarchy |
none ? | ctrl + alt + f7 | to jump to one of the callers of a method |
ctrl + shift + i | alt + f8 | evaluate expression (in debugger) |
F3 | ctrl + b | go to declaration (e.g. go to method) |
'Dev Environment > JetBrains, Eclipse' 카테고리의 다른 글
[Webstorm] Editor Skin을 Sublime Text 2 스타일로 Customizing 하기 (0) | 2013.06.07 |
---|---|
[WebStorm] Karma (Testacular) Start, Run, Debug 수행하기 (0) | 2013.04.14 |
[IntelliJ IDEA] Project 및 클래스 생성하기 (0) | 2013.01.09 |
[WebStorm] Live Edit 설정하기 (0) | 2012.12.23 |
[Eclipse] Color Theme 설정 (0) | 2012.11.27 |