IntelliJ IDEA 好用的插件+“去除Mapper中的下划线”

阅读 154

2021-10-09

  1. idea mybatis mapper类跳转到xml文件。

IntelliJ IDEA 打开 mybatis 的 xml 文件时,对应的 xml 文件中 sql 语句背景色总是有黄色或绿色的背景色。

Prefernces ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ No data sources configure。

Prefernces ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ SQL dialect detection。

即取消掉下图中的勾选,然后点击OK即可。


去掉“注入语言”的背景色

Prefernces ⇒ Editor ⇒ Colors Scheme ⇒ General⇒ Injected language fragment ⇒ Background。

取消勾选,然后点击OK即可。

精彩评论(0)

0 0 举报