TDD and Refactoring Help

IntelliJ

Settings

View

  • Enable ligatures

  • View | Appearance: Details in Tree View

  • View | Active Editor: Show Indent Guides

  • Show tree indent guides

  • Show Members

    • show-members.png
    • before

      • show-members-before.png
    • after

      • show-members-after.png
  • Jump to colors and fonts

    • jump-to-colors.png
  • 커서가 위치한 식별자들에 적용되는 컬러 변경하기

    • color-under-cursor.png
  • Show BreadCrumbs

    • show-breadcrumbs.png
  • tooltip이 안보일 때

    • Preferences | Appearance & Behavior | Appearance, Accessibility > Support screen readers off

Formatting

Edit

  • Postfix Completion

    • postfix-completion.png
  • 변수 생성시 final 지정되도록

    • image_2.png
  • Template

    • New Method Body

      • new-method-body.png
  • previous / next highlighted usage

    • opt + ctrl + 화살표

  • Add Selection for Next Occurrences: ctrl + cmd + G

  • Select All Occurrences: ctrl + G

Etc

  • before commit

    • before-commit.png

Commands

  • create launcher script

  • Preview file content

    • project view에서 파일 선택하고 spacebar

  • Locate Duplicates...

UML

  • VCS 변경을 다이어그램으로 보기

    • VCS | Uncommitted Changes| Show Local Changes as UML

    • ⌘⌥⇧D

  • 다이어그램의 요소들을 리스트업하기 - ⌘F12

  • 수동으로 클래스들 간의 관계를 그릴 수 있음

  • layout

    • F5: 현 구조에서 다시 그리기

    • ⇧F5: 자동 정렬

  • Show Implementations ⌘⌥B, Show Parents ⌘⌥P

  • 해당 소스로 가기 ⌘↓

  • Analyze graph: 클래스들을 선택하고, 우클릭해서 Analyze graph

  • Measure diagram centrality

    • 중요한 노드 식별 자동으로 하기

    • 우클릭 / Analyze Graph | Measure Centrality

Plugins

References

Last modified: 14 June 2024