development

Eclipse 가져 오기를위한 키 단축키

big-blog 2020. 9. 4. 07:54
반응형

Eclipse 가져 오기를위한 키 단축키


마지막으로 Eclipse를 사용한 지 오래되었습니다. 나는 모든 가져 오기를 소스 파일의 맨 위에 추가 한이 편리한 단축키를 좋아했지만 잊어 버렸습니다. 이 단축키가 무엇인지 아는 사람이 있습니까?


Ctrl+ Shift+ O(<-0이 아닌 'O')

참고 :이 바로 가기는 사용하지 않는 가져 오기도 제거합니다.


몇 가지 유용한 단축키. 당신은 첫 번째를 찾고 있습니다 ...

  1. Ctrl+ Shift+ O: 수입품 정리
  2. Ctrl+ Shift+ T: 개방형
  3. Ctrl+ Shift+ F4: 열려있는 모든 편집기 닫기
  4. Ctrl+ O: 공개 선언
  5. Ctrl+ E: 편집기 열기
  6. Ctrl+ /: 줄 설명
  7. Alt+ Shift+ R: 이름 변경
  8. Alt+ Shift+ L: 로컬 변수로 추출
  9. Alt+ Shift+ M: 추출 방법
  10. F3 : 공개 선언

여기에 소스


기타 유용한 단축키 :

  1. Alt+ Shift+ R: R의 ENAME
  2. Alt+ Shift+ Y: 줄 바꿈
  3. Alt+ Shift+ V: 선택한 요소 이동
  4. Alt+ Shift+ I: I의 nline 리팩토링
  5. Alt+ Shift+ M: 추출 M은 리팩토링 ethod.
  6. Alt+ Shift+ L: 추출 L OCAL 변수
  7. Alt+ Shift+ A: 블록 선택 모드
  8. Alt+ Shift+ Arrow Keys: 둘러싸는 요소 선택
  9. Alt+ Shift+ F1: 플러그인 구현 세부 사항을 알기 위해 eclipse 요소에 초점을 맞 춥니 다.
  10. Alt+ Shift+ F2: 플러그인 구현 세부 사항.
  11. F4 : 유형 계층
  12. Ctrl+ Shift+ T: 열기 T의 타 입
  13. Ctrl+ Shift+ H: 열기 를 입력 H의 ierarchy
  14. Ctrl+ Alt+ H: 전화 H의 ierarchy
  15. Ctrl+ Shift+ G: 작업 공간 참조
  16. Ctrl+ Alt+ G: 선택한 텍스트에 대한 빠른 검색
  17. Ctrl+ Shift+ O: O의 rganize 수입
  18. Ctrl+ Shift+ M: 현재 선택된 항목에 대한 가져 오기를 추가합니다.
  19. Ctrl+ Shift+ L: 쇼 당신에게 L의 당신의 현재 정의 된 바로 가기 키의 인도 표준시
  20. Ctrl+ Shift+ U: 현재 파일에서 발생
  21. Ctrl+ Shift+ A: 오픈 플러그인 A rtifact
  22. Ctrl+ Shift+ {: 현재 파일과 함께 나란히있는 두 편집기
  23. Ctrl+ Shift+ Space: 매개 변수 힌트
  24. Ctrl+ Shift+ 마우스 오버 : javadoc보기
  25. Shift + 마우스 오버 : 소스 코드보기
  26. Ctrl+ Space: 콘텐츠 지원
  27. Ctrl+ F3/ O: 개요
  28. Ctrl+ T: T 타 입 계층 구조
  29. Ctrl+ H: 검색 대화 상자 열기
  30. Ctrl+ 1: 빠른 수정
  31. Ctrl+ Shift+ NUM_KEYPAD_DIVIDE: 모든 코드 블록 축소
  32. Ctrl+ Shift+ NUM_KEYPAD_MULTIPLY: 모든 코드 블록 열기
  33. Alt+ left arrow: 최근에 닫은 파일 열기

Ctrl+ Shift+ 임의의 키 : 직접 조치 (대부분 텍스트)

Alt+Shift+ any key : Indirect actions


Ctrl It was originally used to send Control character to terminals. Ctrl commands are commonly used shortcuts. (In Mac Command)

Alt It enables alternate uses for other keys.


The above shortcuts are default, if we want to change shortcuts we can do. In eclipse -> Windows -> preferences -> keys. Where we can find all shortcuts with full details:
enter image description here

and
https://shortcutworld.com/IntelliJ-IDEA/win/IntelliJ_Shortcuts https://shortcutworld.com/Eclipse/win/Eclipse-Helios_Shortcuts


You also can enable this import as automatic operation. In the properties dialog of your Java projects, enable organize imports via Java Editor - Save Action. After saving your Java files, IDE will do organizing imports, formatting code and so on for you.


IntelliJ just inserts them automagically; no shortcut required. If the class name is ambiguous, it'll show me the list of possibilities to choose from. It reads my mind....


Ctrl+Space : Show Imports

This displays imports as you're typing a non-standard class name provided the proper references have been added to the project.

This works on partial or complete class names as you are typing them or after the fact (Just place the cursor back on the class name with squigglies).


CTRL + 1 can also be used which will suggest to import.


For static import select the field and press Ctrl+Shift+M

참고URL : https://stackoverflow.com/questions/8583339/key-shortcut-for-eclipse-imports

반응형