문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
intellij_idea [2016/11/18 15:43] kwon37xi [참조문서] |
intellij_idea [2022/10/17 16:48] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== IntelliJ IDEA ====== | ====== IntelliJ IDEA ====== | ||
* http:// | * http:// | ||
+ | * [[intellij_idea: | ||
+ | * [[intellij_idea: | ||
+ | * [[intellij_idea: | ||
+ | * [[intellij_idea: | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== 프로젝트 시작 ===== | ||
+ | * 프로젝트 시작시 할 것들 | ||
+ | * [[intellij_idea: | ||
===== 오류시 대응 ===== | ===== 오류시 대응 ===== | ||
+ | * [[https:// | ||
* 잦은 코드 업데이트시에 IDE의 인덱싱 데이터와 실제 코드간의 불일치로 코드상에 문제가 없는데도 오류가 발생하는 경우가 간혹 발생한다. | * 잦은 코드 업데이트시에 IDE의 인덱싱 데이터와 실제 코드간의 불일치로 코드상에 문제가 없는데도 오류가 발생하는 경우가 간혹 발생한다. | ||
* **File -> Invalidate Caches**를 실행하여 인덱스를 재생성해본다. | * **File -> Invalidate Caches**를 실행하여 인덱스를 재생성해본다. | ||
줄 15: | 줄 28: | ||
* **Osmorc** 플러그인이 활성화 돼 있을 경우 이상 증상을 보이기도 하였는데, | * **Osmorc** 플러그인이 활성화 돼 있을 경우 이상 증상을 보이기도 하였는데, | ||
* 특정 클래스가 분명히 아무런 문제가 없는데도 클래스를 찾을 수 없다(class not found)는 오류가 발생한다면 **Settings -> Build.. -> Compiler -> Excludes** 에 우연히 추가 됐는지 확인한다. | * 특정 클래스가 분명히 아무런 문제가 없는데도 클래스를 찾을 수 없다(class not found)는 오류가 발생한다면 **Settings -> Build.. -> Compiler -> Excludes** 에 우연히 추가 됐는지 확인한다. | ||
- | ===== Debug 모드에서 성능 저하 ===== | ||
- | * **Debug** 모드에서 코드의 Line이 아닌 **메소드 선언부에 Break Point**를 걸면 엄청난 성능 저하가 발생한다. | ||
- | * 메소드 선언부 Break Point는 피하라. | ||
===== Gradle 연동 ===== | ===== Gradle 연동 ===== | ||
* IntelliJ IDEA 기본 Gradle 플러그인이 뛰어난 편이라서 Gradle의 idea 플러그인을 사용하지 않아도 된다. | * IntelliJ IDEA 기본 Gradle 플러그인이 뛰어난 편이라서 Gradle의 idea 플러그인을 사용하지 않아도 된다. | ||
- | * 현재 [[http:// | + | * Gradle Task들에 '' |
줄 29: | 줄 39: | ||
==== Cygwin Bash Terminal ==== | ==== Cygwin Bash Terminal ==== | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ===== JetBrains annotation 제거 ===== | ||
+ | '' | ||
+ | |||
+ | <code groovy> | ||
+ | configurations.all { | ||
+ | exclude group: ' | ||
+ | } | ||
+ | </ | ||
+ | * 또한, 컴파일시 '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Git + SSH 작동 안 할 때 ===== | ||
+ | * '' | ||
+ | Caused by: java.io.IOException: | ||
+ | ... 등등 발생 | ||
+ | </ | ||
+ | * Linux에서 Git repository를 SSH 로 사용하는데 잘 작동하지 않으면 '' | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | ===== Java Application 실행시 Classpath 가 올바로 지정 안 되는 현상 ===== | ||
+ | * [[https:// | ||
+ | * 특히 Windows 에서 명령행의 명령 길이 제한으로 인해 Java Application 실행시 classpath가 올바로 지정 안 되는 현상이 발생할 수 있다. | ||
+ | * **Run/Debug Configuration** 설정에서 **Command line shortner** 설정을 해주면 된다. | ||
+ | * 실행 환경이 뭐냐에 따라 어떤 방식이 올바로 작동하는지 확신할 수 없으므로 이것 저것 테스트 해봐야 한다. | ||
+ | * None : 아무것도 안함 | ||
+ | * JAR Manifest : '' | ||
+ | * classpath file : 별도 파일을 생성해 클래스패스 적어줌. | ||
+ | * User-local default : Intellij 과거 방식. | ||
+ | |||
+ | ===== Multiple Project ===== | ||
+ | * 하나의 프로젝트 창에서 여러 프로젝트(모듈말고)를 보고 싶을 때는 | ||
+ | * **Empty Project**를 생성하고, | ||
+ | * 다른 프로젝트들을 이 프로젝트의 Module로 import한다. | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== 외부 프로그램 실행 ===== | ||
+ | * **Tools -> External Tools** 를 통해서 외부 프로그램을 실행할 수 있다. | ||
+ | |||
+ | ===== Themes ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Intellij Ultimate Linux 최신 버전 다운로드 링크 확인 ===== | ||
+ | <code sh> | ||
+ | # 버전 번호만 확인 | ||
+ | curl -fsSL " | ||
+ | |||
+ | # Linux 다운로드 링크 | ||
+ | curl -fsSL " | ||
+ | </ | ||
===== 참조문서 ===== | ===== 참조문서 ===== | ||
줄 37: | 줄 101: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |