IntelliJ IDEA - 快速去除 mapper.xml 告警线和背景(三步走)

1、去掉 No data sources configure 警告

  • Settings(Ctrl + Alt + S) ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ No data sources configure

IntelliJ IDEA - 快速去除 mapper.xml 告警线和背景(三步走)_第1张图片

2、去掉 SQL dialect is not configured 警告

  • Settings(Ctrl + Alt + S) ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ SQL dialect datection

IntelliJ IDEA - 快速去除 mapper.xml 告警线和背景(三步走)_第2张图片

3、去掉 “注入语言” 背景色

  • Prefernces ⇒ Editor ⇒ Colors Scheme ⇒ General ⇒ Code => Injected language fragment

IntelliJ IDEA - 快速去除 mapper.xml 告警线和背景(三步走)_第3张图片

你可能感兴趣的:(#,IntelliJ,IDEA,intellij-idea,xml,java,告警,波浪线,黄线,背景色,Injected)