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即可

 

posted @ 2023-03-28 11:46  古语云  阅读(1788)  评论(0编辑  收藏  举报