개발을 위한 공부 개발을 위한 공부
이클립스 단축키 # OSX: Eclipse > Preferences > General > Keys # 새 파일 Window: ctrl + n Mac OS: command + n # 한 줄 삭제 Window: ctrl + d Mac OS: command + d # 실행 (run) Window: ctrl + F11 Mac OS: fn + command + F11 # 화면 확장 Window: ctrl + m Mac OS: control + m # 패키지 / 클래스 / public static void main(String[] args) 체크 Window: * alt + 각 입력 문구에 밑줄 - 패키지: alt + k - 클래스: alt + m - main(): alt + v # 화면 분할 Window: ctrl + 방향키 Mac OS: 따로 지원하지 않음 - https://www.spectacleapp.com/ - Left half: option + command + < - Right half: option + command + > # 메소드 자동완성 Window: ~ + ctrl + space ex. syso + ctrl + space: System.out.println(); Mac OS: ~ + option + space - Eclipse > Preferences > General > Keys > Search 'Content Assist' - Description: 'Content Assist' - Binding: option + space # 말풍선 고정 Window: F2 Mac OS: fn + F2 # 주석처리 (영역지정 후) Window: ctrl + shift + / Mac OS: command + / # 주석해제 Window: ctrl + shift + \ Mac OS: command + / (반복) # 파일/폴더명 변경 Window: F2 Mac OS: option + command + R # 화면이동 (에디터, Package Explorer 등) Window: ctrl + F7 (ctrl을 누른 상태) Mac OS: fn + command + F7 (fn + command 누른 상태) # 한 줄 복사 Window: ctrl + alt + 방향키 Mac OS: fn + option + 아래방향키 (임의 설정) # 이동 Window: alt + 방향키 Mac OS: option + 방향키 # get / set 메서드 자동완성 Window: alt + shift + s > r Mac OS: 임의로 생성 - Eclipse > Preferences > General > Keys > Search 'Generate Getters and Setters' - Binding: alt + shift + s > r # 매개변수가 있는 생성자 자동완성 Window: alt + shift + s > o Mac Os: 임의로 생성 - Eclipse > Preferences > General > Keys > Search 'Generate Constructor using Fields / Vars' - Binding: alt + shift + s > o # 상속 트리 확인 Window: ctrl + t Mac Os: command + t # try/catch 구문 자동완성 Window: alt + shift + z, 예외처리 Mac Os: 임의로 생성 - Eclipse > Preferences > General > Keys > Search 'Surround with try/catch block' - Binding: alt + shift + z > t |