사용자 도구

사이트 도구


intellij_idea:config

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
intellij_idea:config [2020/09/06 22:26]
kwon37xi [Linux 한글 입력]
intellij_idea:config [2023/03/24 13:01] (현재)
kwon37xi [글꼴 / Font]
줄 37: 줄 37:
  
 ===== Linux 한글 입력 ===== ===== Linux 한글 입력 =====
-  * Linux 입력기 문제는 버전에 따른 편차가 매우 크기 때문에, 잘된다면 무시할것.+  * Linux 입력기 문제는 버전에 따른 편차가 매우 크기 때문에, **잘된다면 아래내용 무시할것.**
   * [[linux:inputmethod|Input Method (입력기, 한글)]]에서 한글 입력이 잘 안 될 경우   * [[linux:inputmethod|Input Method (입력기, 한글)]]에서 한글 입력이 잘 안 될 경우
 +
 +==== fcitx ====
 +
   * [[linux:inputmethod:fcitx|Linux Input Method fcitx]] 한글 입력이 잘 안 될경우 [[https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006740379-2019-3-Update-disabled-Fcitx-input-Ubuntu|2019.3 Update disabled Fcitx input? - Ubuntu – IDEs Support (IntelliJ Platform) | JetBrains]]   * [[linux:inputmethod:fcitx|Linux Input Method fcitx]] 한글 입력이 잘 안 될경우 [[https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006740379-2019-3-Update-disabled-Fcitx-input-Ubuntu|2019.3 Update disabled Fcitx input? - Ubuntu – IDEs Support (IntelliJ Platform) | JetBrains]]
     * ''-Dauto.disable.input.methods=false''     * ''-Dauto.disable.input.methods=false''
 +
 +==== ibus ====
   * [[linux:inputmethod:ibus|iBus]] 한글 입력이 잘 안 될 경우 [[https://youtrack.jetbrains.com/issue/JBR-2444|Keyboard stops working in IntelliJ on Ubuntu 20.04, Gnome 3.36 with IBus enabled : JBR-2444]]   * [[linux:inputmethod:ibus|iBus]] 한글 입력이 잘 안 될 경우 [[https://youtrack.jetbrains.com/issue/JBR-2444|Keyboard stops working in IntelliJ on Ubuntu 20.04, Gnome 3.36 with IBus enabled : JBR-2444]]
     * 즉시 해결     * 즉시 해결
줄 49: 줄 54:
 <code> <code>
 -Drecreate.x11.input.method=true -Drecreate.x11.input.method=true
 +</code>
 +  * 한글 입력시 공백등이 튈 경우
 +<code sh>
 +gsettings set org.freedesktop.ibus.engine.hangul use-event-forwarding true
 </code> </code>
 ===== 설정 파일들의 디렉토리 변경 ===== ===== 설정 파일들의 디렉토리 변경 =====
 +  * [[https://www.jetbrains.com/help/idea/tuning-the-ide.html#config-directory|설정 파일 디렉토리]]
 +    * 설정 파일 : ''~/.config/JetBrains/<product><version>''
 +    * 캐시와 local history 파일 : ''~/.cache/JetBrains/<product><version>''
 +    * 플러그인 : ''~/.local/share/JetBrains/<product><version>''
   * [[https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs|Directories used by the IDE to store settings, caches, plugins and logs]]   * [[https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs|Directories used by the IDE to store settings, caches, plugins and logs]]
   * [[https://intellij-support.jetbrains.com/hc/en-us/articles/207240985-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage|Changing IDE default directories used for config, plugins, and caches storage]]   * [[https://intellij-support.jetbrains.com/hc/en-us/articles/207240985-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage|Changing IDE default directories used for config, plugins, and caches storage]]
줄 69: 줄 82:
 </code> </code>
   * Windows 에서 한글 사용자명 폴더일 경우에 config.path와 system.path를 변경시켜줘야한다. 안그러면 일부 기능이 작동하지 않을 수 있다.   * Windows 에서 한글 사용자명 폴더일 경우에 config.path와 system.path를 변경시켜줘야한다. 안그러면 일부 기능이 작동하지 않을 수 있다.
 +
 ===== Idea Properties ===== ===== Idea Properties =====
   * 기본적으로는 **Help -> Edit Custom Properties** 메뉴에 나오는 파일에서 편집한다.   * 기본적으로는 **Help -> Edit Custom Properties** 메뉴에 나오는 파일에서 편집한다.
줄 95: 줄 109:
 sudo sysctl -p sudo sysctl -p
 </code> </code>
 +
 +===== 자동 빌드 - auto build =====
 +  * 자동 빌드는 클래스가 변경될 때마다 자동으로 컴파일하고, 배포한다.
 +  * 나는 자동 빌드 활성화 시에 **지나치게 잦은 compile & deploy로 인한 성능저하** 문제가 더 크다고 보고, 이를 꺼둔 상태로 사용한다.(IntelliJ Idea 자체도 기본값이 끄기)
 +  * Actions 에서 **Registry...** 를 찾아서
 +    * ''compiler.automake.allow.when.app.running=true'' 로 변경
 +  * **Settings -> Build, Execution, Deployment -> Compiler -> Build project automatically** 활성화.
  
 ===== Tomcat(WAS) 실행 옵션 ===== ===== Tomcat(WAS) 실행 옵션 =====
줄 105: 줄 126:
 ===== Settings ===== ===== Settings =====
 ==== Default Settings ==== ==== Default Settings ====
-  * ''File -> Other Settings -> Default Settings'' 에서 모든 프로젝트의 기본 설정을 할 수 있다.+  * ''File -> New Project Settings'' 에서 모든 프로젝트의 기본 설정을 할 수 있다.
   * ''Annotation Processors -> Enable annotation processing'' : [[java:lombok|Lombok]] 사용시 항상 필요하므로 활성화 해 둔다.   * ''Annotation Processors -> Enable annotation processing'' : [[java:lombok|Lombok]] 사용시 항상 필요하므로 활성화 해 둔다.
  
줄 117: 줄 138:
   * [[https://github.com/naver/d2codingfont|D2Coding]] ligature 를 사용하면 ''!='' 등의 코딩 기호를 간결하게 볼 수 있다.   * [[https://github.com/naver/d2codingfont|D2Coding]] ligature 를 사용하면 ''!='' 등의 코딩 기호를 간결하게 볼 수 있다.
   * **Enable ligature** check   * **Enable ligature** check
 +
 +=== Terminal Font ===
 +  * **Settings -> Editor -> Color Scheme -> Console Font** 에서 명시할 수 있다.
 +  * ''CodeNewRoman Nerd Font Mono''
  
 ==== System Settings ==== ==== System Settings ====
줄 150: 줄 175:
  
 ==== Editor -> General -> Code Folding ==== ==== Editor -> General -> Code Folding ====
 +  * 코드가 너무 축약 돼 보인다.
   * ''One-line method'' 이하 ~ ''End of line comments sequence''까지 uncheck   * ''One-line method'' 이하 ~ ''End of line comments sequence''까지 uncheck
  
줄 156: 줄 182:
   * ''Editor Tabs''에서 ''Placement''를 ''None''으로 변경한다. 해보면 거의 사용안하고, ''Ctrl+E''로 최근 탭을 찾게 된다.   * ''Editor Tabs''에서 ''Placement''를 ''None''으로 변경한다. 해보면 거의 사용안하고, ''Ctrl+E''로 최근 탭을 찾게 된다.
   * ''Render documentation comments'' : Javadoc HTML을 보기 좋게 변환해서 소스상에서 보여준다.   * ''Render documentation comments'' : Javadoc HTML을 보기 좋게 변환해서 소스상에서 보여준다.
 +  * ''Surround selection on typing quote or brace'' : 텍스트를 선택하고 ''"'', ''%%'%%'', ''{}'' 를 입력하면 자동으로 감싸준다.
 +  * ''Soft Wraps''
 +    * ''Soft-wrap these files'' : 지정된 확장자의 파일들을 soft wrap(긴줄을 아래로 내려서 보여주기)한다.
 ==== Code Formatter ==== ==== Code Formatter ====
   * [[http://plugins.jetbrains.com/plugin/?id=6546|Eclipse Code Formatter]] 플로그인을 사용하여 Eclipse와 동일한 코드 포매터를 공유할 수 있다. -> 최근 버전에서는 IntelliJ 스스로 Eclipse Code Style을 import 할 수 있어서 불필요.   * [[http://plugins.jetbrains.com/plugin/?id=6546|Eclipse Code Formatter]] 플로그인을 사용하여 Eclipse와 동일한 코드 포매터를 공유할 수 있다. -> 최근 버전에서는 IntelliJ 스스로 Eclipse Code Style을 import 할 수 있어서 불필요.
줄 233: 줄 262:
       * Issue ID : ''\[([A-Z]+\-\d+)\].*''       * Issue ID : ''\[([A-Z]+\-\d+)\].*''
       * link : ''http://jira.url.com/browse/$1''       * link : ''http://jira.url.com/browse/$1''
 +
 +===== Server certificate =====
 +  * ''Server’s Certificate is not trusted'' 팝업이 지속적으로 뜰 경우(회사에서 개별 인증서 등록해서 사용시) 무조건 accept 하려면,
 +  * **Settings -> Tools -> Server Certificates** 에서 **Accept non-trusted certificates automatically** 를 활성화 해준다.
  
 ===== Windows WLS Linux Terminal & PowerShell ===== ===== Windows WLS Linux Terminal & PowerShell =====
intellij_idea/config.1599398794.txt.gz · 마지막으로 수정됨: 2020/09/06 22:26 저자 kwon37xi