Xml idea to remove the yellow background

idea versions: IntelliJ IDEA 2019.2.1

There will be a large area of ​​yellow background prompted to write xml mybatis in, looks uncomfortable.


 Remove the yellow background color:

1. Open the Settings. Found Editor -> configuration page of Inspections, remove the SQL No data sources configured (no configuration data source) option and the SQL dialect detection (SQL dialect detection) option, and click OK.

Effect (gray background):

 

2. Open the Settings. Editor-> Color Scheme-> General-> Code-> Injected language fragment uncheck Background, click OK

 effect:

 

Guess you like

Origin www.cnblogs.com/lwcode6/p/11730541.html