IntelliJ IDEA关闭“Found duplicate code in”提示
1、 IntelliJ IDEA默认会打开“Found duplicate code in”提示,主要提示有重复代码块:
2、关闭该提示;File → Settings → Editor → Inspections;在Settings页面右侧的搜索栏处搜索 “Duplicated Code”,取消掉Duplicated Code后面的勾选,再保存设置即可:
1、 IntelliJ IDEA默认会打开“Found duplicate code in”提示,主要提示有重复代码块:
2、关闭该提示;File → Settings → Editor → Inspections;在Settings页面右侧的搜索栏处搜索 “Duplicated Code”,取消掉Duplicated Code后面的勾选,再保存设置即可: