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

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

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

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

 

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

上一篇:Android WebAPIOperator


下一篇:python之读取与写入txt文件open()