配置idea

目前我使用的两种方法

1.idea右下角有个小人,单击后选择Syntax即可

2.去掉@AutoWired注入bean报错 setting→Editor→Inspections→Spring→Spring Core→Code→Autowiring for Bean Class 去掉!

2.在setting→Editor→Inspections搜索SQL,把No data sources configured和SQL dialect detection后的框框勾掉即可!

3.如果有绿色背景图,则把Editor→Color Scheme→General→Injected language fragment→Background勾掉!

原文地址:https://www.cnblogs.com/WPF0414/p/10060197.html