Mac下:
Step 1:
Prefernces -> Editor -> Inspections -> SQL -> No data sources configure 取消勾选
Step 2:
Prefernces -> Editor -> Inspections -> SQL -> SQL dialect detection 取消勾选
Step 3:
Prefernces -> Editor -> Inspections -> SQL -> Unresolved reference 取消勾选
Step 4:
Prefernces -> Editor -> Color Scheme -> General -> Code -> Injected language fragment 去掉Background勾选
Windows下:
Step 1:
settings -> Editor -> Inspections -> SQL -> No data sources configure 取消勾选
Step 2:
settings -> Editor -> Inspections -> SQL -> SQL dialect detection 取消勾选
Step 3:
settings -> Editor -> Color Scheme -> General -> Code -> Injected language fragment 去掉Background勾选