본문 바로가기

디버깅

[Eclipse] 이클립스 import시 단축키 세팅 & 작동하지 않을때

반응형


Windows > Preferences > Java > Editor > Save Actions

 - Perform the selected actions on save 체크

 - Organize imports 체크


최신버전 (Eclipse Oxygen 4.7)의 경우 위 설정이 비활성화 되어 있어, 기존의 import 단축키(Shift + Ctrl + O)가 작동하지 않음



그래도 작동하지 않을 때가 있는데, 그때는 

Window > Preferences: General > Keys 에서 Organize Import 를 찾고 When에서 

 In Windows  Editing Java Source.  로 변경해주자!



출처 : https://stackoverflow.com/questions/45256038/eclipse-organize-imports-shortcut-ctrlshifto-is-not-working


반응형