IntelliJ IDEA 怎样关闭重复代码提示:Show all duplicates like this
IDEA 提示如下:
Show all duplicates like this
Do not detect duplicates of this size

1. 打开左上角File-->Settings,选择Editor-->Inspections

2. 找到General,将duplicated code后面的勾去掉,然后点击Apply即可

IDEA 提示如下:
Show all duplicates like this
Do not detect duplicates of this size


