Dev Hyeri

개발 트랜드

[개발 트랜드] 속도 2배, 인텔리제이 단축키

_hyeri 2024. 2. 17. 14:23

F2 : next highlighted error 오류로 이동

 

 

Alt + 1 : project. 왼쪽 프로젝트 창 열고 닫기 

Ctrl + Shift + Enter : 현재 절을 자동 완성

Ctrl + P : 파라미터 정보

Shift + F6 : Rename. 이름 한 방에 변경

Ctrl + Alt + I :  auto-indent lines. 자동 들여쓰기

Ctrl + Alt + N :  Inline Variable. 변수 내장. 특정 코드 부분에서 불필요(중복)하게 사용되어 변수의 값을 직접 사용하도록 변경

 

 

 

Alt + Insert : generate. 생성자, getter and setter, toString 등 생성

Ctrl + Alt + V : introduce parameter. 매개 변수 생성 

Ctrl + Alt + Shift + T : Refactor this. Extract Method 등 생성

Ctrl + Shift + T : Go to test. 테스트 생성

 

 

Shift + F10 : 이전에 실행했던 것 재실행 

Ctrl + Shift + F10 : Ren context configuration. 현재 커서가 있는 부분 실행 

 

Ctrl + E : recent files 최근 작업한 파일 목록 보기

Ctrl + B : navigate, go to declaration or usages 사용하고 있는 곳으로 가기

 

 

 

약어

sout : Prints a string to System.out

soum : Prints current class and method names to System.out 매소드 출력 코드

soutp : Prints method parameter names and values to System.out 매개별수명 출력 코드 

soutv : Prints a value to System.out 변수명 출력 코드 

iter : Iterate Iterable | Array 배열 반복문