IntelliJ Settings

2 min read

Gradle Wrapper 인증서 오류 해결

IntelliJ는 자체 jre를 사용한다. 다음 파일에 인증서.crt를 추가한다.

C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.1\jre64\lib\security\cacerts

인증서 관리 프로그램은 KeyStore Explorer를 사용하면 편리하다.

Plugins

  • .ignore: ignore 파일 문법 강조. 트리에서 색 지정
  • Lombok Plugin: Lombok을 사용하려면 필요하다.
  • CodeGlance: 미니맵 스타일의 스크롤바를 사용할 수 있다.

Settings

  • Settings > Build, Execution, Deployment > Compiler에서 Build project automatically를 체크한다.
  • Settings > Inspections에서 Spelling을 체크 해제한다.
  • Settings > Code Style > Alignment and Braces에서 Simple methods in one line을 체크 해제한다.
  • Settings > Editor > General > Editor Tabs에서
    • Tab Appearance > PlacementNever로 설정
    • Tab Closing Policy > Tab limit2로 설정
  • Settings > Editor > General > Breadcrumbs 에서 Show breadcrumbs 해체

Keymap

Settings > Keymap

  • Split Vertically : Alt + \
  • Goto Next Splitter : Alt + →
  • Goto Previous Splitter : Alt + ←
  • Fully Expand Tree Node: Ctrl+Wheel down
  • Collapse Tree Node: Ctrl+Wheel up

Code Style

Settings > Code Style > Java

  • Chained method calls : Chop down if long
  • Blank Lines > Keep Maximum Blank Lines : 모두 1로 설정

Color Scheme

Encoding

Settings > Editor > File Encodings 에서 다음과 같이 설정

  • Global Encoding : UTF-8
  • Project Encoding : UTF-8
  • Default encoding for properties files: UTF-8
  • Transparent native-to-ascii conversion 체크

유용한 단축키

  • F2 : 다음 에러로 점프

© 2023 Raegon Kim