IntelliJ IDEA
목차
단축키
| 단축키 | 기능 |
|---|---|
| shift + command + enter | 문장 완성 |
| control + option + N | 신규 파일 생성 |
| command + option + V | 변수 추출 |
| command + option + P | 파라미터 추출 |
| command + option + M | 메소드 추출 |
| alt + enter | 수정 |
| shift + control + R | 실행 |
| shift + R | 재실행 |
| command + E | 직전 파일들 열기 |
| command + N | 생성 (constructor, getter/setter) |
| F2 | 첫번째 오류로 이동 |
| command + F12 | 클래스의 메소드 목록 |
| shift + F6 | 이름 변경 |
| command + option + B | 구현체 목록 |
| control + M | 매칭되는 블럭으로 이동 |
| command + option + N | 인라인 변경 |
라이브 템플릿
| 축약어 | 기능 | 내장 |
|---|---|---|
| psvm | public static void main | O |
| sout | System.out.print | O |
| soutv | System.out.print value | O |
| soutp | System.out.print parameter | O |
| psf | public static final | O |
| psfi | public static final int | O |
| psfs | public static final String | O |
| iter | iterate iterable or array | O |
| fori | for(int i = 0;…) {} | O |
| logc | private static final Logger log = LoggerFactory.getLogger(class); | X |
| logm | log current class and method | X |
| logp | log parameters of current method | X |
| logv | log value | X |
