etc

사용하는 IntelliJ 단축키

yong_ღ'ᴗ'ღ 2022. 12. 10. 01:33

공부하면서 알게 된 IntelliJ 단축키 정보 모아보기

 

Parameter 정보보기: ctrl+p

자동 완성: ctrl + shift + enter

static import: alt + enter

이름 한 번에 바꾸기: shift + f6

◼ 선택 영역 확대: ctrl + w

◼ 선택 영역 축소: ctrl+ + shift + w

◼ 변수 추출(생성): ctrl + alt + v

◼ 메서드 추출: ctrl + alt + m

◼ 열 편집: alt 누르고 드래그 또는  alt + shift + insert   OR  alt + shift + insert

    [eclipse: alt+shift+a]

이전에 했던 거 다시 실행: shift + f10    

이전 페이지로 돌아가기: ctrl + alt + ←

다시 다음 페이지로 돌아가기: ctrl + alt + →

최근에 봤던 거 목록: ctrl + e

 바로 예전꺼로 돌아가기: ctrl + e + enter

refactor this: ctrl + shift + alt + t

inline Variable: ctrl + alt + n

;까지 자동완성: ctrl + shift + enter

soutv: 변수명 출력 단축키

soutm: 메서드명 출력 단축키

f2: 오류난 곳으로 바로 이동

Create New Test...: ctrl + shift + t

list나 배열같은 거 있을 때, iter 쓰고 tab 누르면 향상된 for문 형태로 됨!

 

◼ IntelliJ 다중 커서

https://insertintoblog.tistory.com/20

 

IntelliJ 다중 커서 사용하기

소스를 수정하다보면 여러라인을 동시에 수정해야 할 때가 많다. 엑셀로 옮겨서 하는 경우도 있고, VSCode에도 유사 기능을 지원한다. IntelliJ 자체에서 지원하는 기능중 자주 쓰는 기능 몇가지를

insertintoblog.tistory.com