去除idea中代码的波浪线(黄色警告线)

在使用IDEA编译过程中,如果代码有重复,就会在重复的代码下显示黄色的警告线,我个人觉得比较干扰视线。

如何关闭这个提醒功能呢?如下设置:

打开 File-->Settings-->Editor-->Code Scheme-->General-->Errors and Warnings-->Weak Warning

  

将右侧Error stripe mark 和 Effects  取消勾选,点击 Apply-->OK 即可去掉警告线。

我使用的idea的版本为:IntelliJ IDEA 2018.3.3 x64

猜你喜欢

转载自blog.csdn.net/weixin_42209368/article/details/87803536