일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- JDBC
- Spring Boot
- PostgreSQL
- oracle
- jpa
- Python
- IntelliJ
- error
- JavaScript
- Docker
- git
- maven
- Eclipse
- 문서
- SpringBoot
- Source
- Core Java
- myBatis
- ubuntu
- 설정
- MSSQL
- spring
- Open Source
- MySQL
- AJAX
- STS
- Thymeleaf
- Tomcat
- Exception
- 오픈소스
- Today
- Total
헤르메스 LIFE
[IntelliJ] 설정들 #2 본문
https://hermeslog.tistory.com/443
1. File Encodings
vm option
2. 프로젝트 Java Version 변경 ( Ctrl + Shift + Alt + 's' )
3. Gradle Java Version 변경
- Settings >> Build, Execution, Deployment >> Build Tools >> Gradle
4. Compiler Java Version 변경
- Settings >> Build, Execution, Deployment >> Compiler >> Java Compiler
1. Tab and Indents
[ File > Settings > Editor > Code Style > Java ]
Tab size : 4 ( Space 로 ... )
2. Space
[ File > Settings > Editor > Code Style > Java ]
제가 좋아하는 space 설정입니다.
3. Import되지 않고, Full pakage 경로를 보여줄 때
[File > Settings > Editor > Code Style > Java ]
3-1. Use fully qualified class names 체크 해제
3-2. Use fully qualified class names in JavaDoc : Naver, use short name and add Import 로 변경
4. Auto Import ( 자동 Import )
[File > Settings > Editor > General > Auto Import ]
Insert imports on paste : All - 모두 자동 Import
ASK - copy&paste 시 자동 Import 의 경우 물어봄.
None - 자동 Import 하지 않음.
Optimize imports on the fly 체크 : Ctrl + Alt + O 정렬
6. Java 함수(Function)가 한 줄로 표시되는 문제
[File > Settings > Editor > General > Gode Folding ]
7. 자동줄바꿈. ( 세미콜론 에서 줄바꿈 되지 않은 경우 )
소스정렬 ( Ctrl + Alt + L )을 했는데, 세미콜론의 줄이 개행되지 않습니다.
이 경우는 Reformat ( Ctrl + Shift + Alt + L ) 에서 Rearrange code 를 체크하지 않은 때문입니다.
https://hermeslog.tistory.com/443
https://hermeslog.tistory.com/596
https://hermeslog.tistory.com/425
'Eclipse와 IntelliJ 관련' 카테고리의 다른 글
[Lombok] IntelliJ 에서 Lombok 사용 (0) | 2022.03.22 |
---|---|
[STS] STS 설치 - 4.13.1.RELEASE (0) | 2022.02.07 |
[IntelliJ] Git을 이용한 Merge, Rebase (0) | 2021.01.25 |
[IntelliJ] Git을 이용한 Commit & Push 하기 및 gitignore 파일 생성 (0) | 2021.01.24 |
[IntelliJ] Git 연동하기 (0) | 2021.01.23 |