YYYEJI

[MacOS] 인텔리제이 Duplicated code fragment Error 해결방법 본문

Java

[MacOS] 인텔리제이 Duplicated code fragment Error 해결방법

YEJI ⍢ 2022. 9. 8. 13:35
728x90

인텔리제이에서 코딩을 할 때 Copy/Paste를 하다보면

Duplicated code fragment 에러가 등장할 때가 있습니다.

노란줄

 

 

↓↓↓ 이 줄을 없애고 싶다면 아래를 따라해주세요 ↓↓↓

 

 

IntelliJ IDEA 클릭

 

 

 

Preferences ... 클릭

 

 

 

Editor -> Inspections -> General -> Duplicated code fragment 에서 체크해제 ( ✓ )

 

 

 

노란줄이 없는 깔끔한 코드를 볼 수 있습니다.

 

 

 

◡̈