1.在写mapper.xml文件中有许多黄黄绿绿的警告

  - 黄色的是没有用idea链接数据库,连上就ok,不连的话,这样:Prefernces ⇒ Editor ⇒ Inspections ⇒ SQL ⇒ SQL dialect detection

  - 绿色的背景是注入语言背景Prefernces ⇒ Editor ⇒ Colors & Fonts ⇒ General ⇒ Code ⇒ Injected language fragment ⇒ Background这样设置ok

2.SQL dialect is not configured. Sybase, SQL Server match best

  - 在mapper.xml文件中总有这句黄色的警告,是因为没有告诉idea使用什么数据库的方言,在setting中搜索sql dialect 将方言设置成mysql或者其他就ok了

3.eclipse中的git或者svn项目,在某个文件有改动的情况下,左边会有类似">"的东西,并且连同上级目录都会有,而idea默认仅仅是单个文件颜色变化,上级目录是无变化的,只需这样设置:

setting-->Version Control-->页面叫show directories with changed descendants 

相关文章:

  • 2021-06-30
  • 2021-10-19
  • 2021-12-10
  • 2021-11-27
  • 2021-08-26
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2021-12-10
  • 2021-11-30
  • 2021-11-30
  • 2021-08-08
  • 2022-01-07
  • 2021-11-16
  • 2022-01-05
相关资源
相似解决方案