idea Mybatis mapper配置文件删除SQL语句背景色

📅 2021-09-26 15:06 👁️ 270 💬 0

原样式:

image-20210926144955488

看着很不爽

本文 idea 版本为:idea 2020.3.1,以下操作均基于此版本进行

解决办法

1.去除警告

Settings>Editor>Inspections>SQL>No data sources configured 和 SQL dialect detection

No data sources configured :没有配置数据源

SQL dialect detection:SQL方言检测

image-20210926145946787

去除警告过后还有默写语句存在背景色

image-20210926150043943

2.去除“注入语言”背景色

**Settings>Editor>Color Scheme>Code>Injected language fragement **

image-20210926150349152

最终样式:

image-20210926150421000

登录后才能查看或发表评论, 立即 登录
点击右上角即可分享
微信分享提示