eclipse转到idea过程中的基本设置...

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 

原文地址:https://www.cnblogs.com/zhangjianbing/p/8716947.html