波浪线处 Alt+Enter
选择第一项的 子菜单
Disable Inspection 即可
idea没有错误出现红色波浪线怎么去掉?
原文:https://www.cnblogs.com/austinspark-jessylu/p/8126107.html