[Intellij] 단축키 모음

Suyeon·2024년 7월 26일

주니어 중에서도 제일가는 핵주니어 개발자..👶👶
거기다 집에서는 Mac 회사에서는 Window 번갈아 쓰다보니 단축키가 너무너무 헷갈린당ㅠ

이제 나의 머리를 믿지 않기로 했다

정리하자

Editing

1. Copy Line

mac : command + d
window : ctrl + d

2. Delete Line

mac : command + delete
window : ctrl + y

3. Join Lines

mac : ctrl + shift + j
window : ctrl + shift + j

4. 스마트 코드 자동 완성

mac : ctrl + shift + space
window : ctrl + shift + space

5. Quick Fixes

mac : option + enter
window : alt + enter

6. Generate(getter/setter/constructor/method..)

mac : command + n
window : alt + insert

7. Override/Implement Methods

mac : ctrl + o/ctrl + i
window : ctrl + o/ctrl + i

8. TestCase

mac : command + shift + t
window : ctrl + shift + t

9. 안쓰는 import 제거

mac: ctrl + option + o
window: ctrl + alt + o

10. 코드 자동 정렬

mac: command + option + L
window: ctrl + alt + L

11. 이름 일괄 변경

mac: shift + F6
window: shift + F6

12. 변수 타입 일괄 변경

mac: shfit + command + F6
window: shift + ctrl + F6

13. 파라미터 조회

mac : command + p
window : ctrl + p

14. 변수 추출

mac : command + option + v
window : ctrl + alt + v

15. 파라미터 추출

mac : command + option + p
window : ctrl + alt + p

16. 메소드 추출

mac : command + option + m
window : ctrl + alt + m

17. 단어단위 이동

mac : option + right/left
window : ctrl + right/left

18. 단어단위 선택

mac : option + shift + right
window : shift + ctrl + right

19. 메서드단위 이동

mac : ctrl + up/down
window : alt + up/down

20. 상위 메서드 이동

mac : command + u
window : ctrl + u

21. 특정 변수/메서드/클래스 위치로 이동

mac : command + b(click)
window : ctrl + b(click)

22. Tab 이동

mac : command + shift + [ / ]
window : alt + right/left

23. Tab 닫기

mac :
window : ctrl + F4

24. 다음 라인 이동

mac : shift + enter
window : shift + enter

Setting/Searching

1. 설정

mac : command + ,
window : ctrl + alt + s

2. 검색

##전체
mac : double shift
window : double shift

##클래스
mac :
window : ctrl + n

##파일
mac : shift + command + o
window : shfit + ctrl + n

##메소드
mac : option + command + o
window : shift + ctrl + alt + n

##Action
mac : shift + command + a
window : shift + ctrl + a

3. 최근 열었던 파일 목록

mac : command + e
window : ctrl + e

4. 최근 수정했던 파일 목록

mac : command + shift + e
window : ctrl + shfit + e

5. Show Diagram

mac : option + shift + command + u
window : ctrl + shift + alt + u

6. 에디터 창 키우기

mac : command + shift + F12
window : ctrl + shift + F12

Compile/Run

1. Build

mac : command + F9
window : ctrl + F9

2. Debug

mac : ctrl + R
window : shift + F9

3. Run

mac : ctrl + D
window : shift + F10

4. Run Anything

mac : double ctrl
window : double ctrl

5. Stop Run

mac : command + F2
window : ctrl + F2

profile
안녕하시렵니까😘

0개의 댓글