IntelliJ IDEA 重复代码提示有时候会很烦人,去掉方式如下:

 

Preferences => Editor => Inspections => General => Duplicated code fragment (去掉勾选)

 

IntelliJ IDEA 关闭重复代码提示

相关文章: