IDEA 去掉重复代码黄色波浪线

IDEA 编辑器会对重复代码进行检测,并显示黄色下划波浪线,看着有些心烦,如何去除?步骤如下

点开设置,Editor、Code Style、Inspections、General 去掉 Duplicated Code 选项

发布了246 篇原创文章 · 获赞 110 · 访问量 44万+

猜你喜欢

转载自blog.csdn.net/wsjzzcbq/article/details/104676994