문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
intellij_idea [2016/02/06 15:22] kwon37xi |
intellij_idea [2022/09/23 09:54] 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:// | ||
===== 오류시 대응 ===== | ===== 오류시 대응 ===== | ||
+ | * [[https:// | ||
* 잦은 코드 업데이트시에 IDE의 인덱싱 데이터와 실제 코드간의 불일치로 코드상에 문제가 없는데도 오류가 발생하는 경우가 간혹 발생한다. | * 잦은 코드 업데이트시에 IDE의 인덱싱 데이터와 실제 코드간의 불일치로 코드상에 문제가 없는데도 오류가 발생하는 경우가 간혹 발생한다. | ||
* **File -> Invalidate Caches**를 실행하여 인덱스를 재생성해본다. | * **File -> Invalidate Caches**를 실행하여 인덱스를 재생성해본다. | ||
줄 14: | 줄 22: | ||
* 웹 프로젝트 Run Configuration에서 해당 실행 설정의 Deployment에서 Artifact를 삭제했다 다시 넣는다. Artifact 이름이 같더라도 프로젝트 리프레시후에 다른 아티팩트를 가리키는 현상이 발생한다. | * 웹 프로젝트 Run Configuration에서 해당 실행 설정의 Deployment에서 Artifact를 삭제했다 다시 넣는다. Artifact 이름이 같더라도 프로젝트 리프레시후에 다른 아티팩트를 가리키는 현상이 발생한다. | ||
* **Osmorc** 플러그인이 활성화 돼 있을 경우 이상 증상을 보이기도 하였는데, | * **Osmorc** 플러그인이 활성화 돼 있을 경우 이상 증상을 보이기도 하였는데, | ||
- | + | | |
- | ===== Debug 모드에서 성능 저하 ===== | + | |
- | * **Debug** 모드에서 코드의 Line이 | + | |
- | | + | |
===== Gradle 연동 ===== | ===== Gradle 연동 ===== | ||
* IntelliJ IDEA 기본 Gradle 플러그인이 뛰어난 편이라서 Gradle의 idea 플러그인을 사용하지 않아도 된다. | * IntelliJ IDEA 기본 Gradle 플러그인이 뛰어난 편이라서 Gradle의 idea 플러그인을 사용하지 않아도 된다. | ||
- | * 현재 | + | * Gradle Task들에 '' |
+ | |||
+ | |||
+ | ===== Windows Cygwin ===== | ||
+ | * [[cygwin|Cygwin]] 환경의 [[git|git]], | ||
+ | |||
+ | ==== Cygwin Bash Terminal ==== | ||
+ | * [[http://engineroom.teamwork.com/ | ||
+ | |||
+ | ===== JetBrains annotation 제거 ===== | ||
+ | '' | ||
+ | |||
+ | <code groovy> | ||
+ | configurations.all { | ||
+ | exclude group: 'org.kohsuke.jetbrains', | ||
+ | } | ||
+ | </code> | ||
+ | * 또한, 컴파일시 '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Git + SSH 작동 안 할 때 ===== | ||
+ | * '' | ||
+ | Caused by: java.io.IOException: | ||
+ | ... 등등 발생 | ||
+ | </ | ||
+ | * Linux에서 Git repository를 SSH 로 사용하는데 잘 작동하지 않으면 '' | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | ===== Java Application 실행시 Classpath 가 올바로 지정 안 되는 현상 ===== | ||
+ | * [[https:// | ||
+ | * 특히 Windows 에서 명령행의 명령 길이 제한으로 | ||
+ | * **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 " | ||
+ | </ | ||
===== 참조문서 ===== | ===== 참조문서 ===== | ||
줄 30: | 줄 95: | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |