개발관련/Tool

[Intellij]인텔리제이 윈도우&MAC 단축키 정리

90만식 2022. 8. 16. 18:29
728x90

1. 윈도우

단축키 설명
Ctrl + Alt + Insert 패키지, class, interface 등 생성
Ctrl + Alt + L 자동 코드 정렬
Ctrl + Alt +S 설정창 오픈
Shift 2번 검색창 오픈
Ctrl + - 블록 접기
Ctrl + - 블록 열기
Ctrl + D 라인 복사 하여 밑 라인에 붙여넣기
Ctrl + Y 라인 삭제
Ctrl + Shift + U  대/소문자 변경
Alt + Insert getter/setter, constructor 등 생성
Ctrl + Shift + F12 소스창 확대/축소
Ctrl + Shift + T 테스트 클래스 생성
Ctrl + Alt + M 메소드 추출
Ctrl + Alt + H call hierarchy
Ctrl + Shift  + F8  
Ctrl + I Implement 가능한 메서드 목록을 확인 해 구현하기 위한 코드를 자동 생성
Ctrl + B 호출 코드의 선언부로 이동
Ctrl + Alt + B 해당 코드의 구현부로 이동
Ctrl + Alt + m 메소드 추출하기
Ctrl + Shift + \ url 매핑 주소 찾기
Shift + F11 북마크 정보 보기

2. MAC

단축키 설명
command + N 패키지, class, interface 등 생성 
  자동 코드 정렬
control + option + o 불필요한 import 제거 
command + d 코드 라인 복사
command + backspace 한줄 삭제
option + Enter import 하기
command + Shift + F12 소스창 확대/축소
command+ N getter/setter, constructor 등 생성
command + Shift + T 테스트 클래스 생성
command + option + M 메서드 추출
command + option + H call hierarchy
command + I Implement 가능한 메서드 목록을 확인 해 구현하기 위한 코드를 자동 생성

 

 

728x90