IDEA中,重复的代码下会有黄色破浪线标注,并不是错误,但写代码时有时难免会有重复的代码,黄色波浪线很碍眼,怎么取消呢?

取消设置:File->Settings->Editor->Code Style->Inspections->General->Duplicated Code  把方框里的对勾取消就OK了!

去除IntelliJ IDEA中重复代码的黄色波浪线

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-05-04
  • 2021-04-05
  • 2022-01-18
猜你喜欢
  • 2021-12-13
  • 2021-05-31
  • 2021-11-11
  • 2021-10-07
相关资源
相似解决方案