其他分享
首页 > 其他分享> > 如何关闭:IntelliJ IDEA“Duplicated code fragment (9 lines long)”

如何关闭:IntelliJ IDEA“Duplicated code fragment (9 lines long)”

作者:互联网

Duplicated code fragment (9 lines long):意思就是“这段代码重复了”,看着难受可以关闭,关或者不关无伤大雅。

Settings --> Editor --> Inspections --> General --> Duplicated Code fragment;将钩去掉即可

 

标签:code,IntelliJ,fragment,lines,long,--,Duplicated
来源: https://www.cnblogs.com/chunzhi716/p/14279163.html