Myeclispse 配置Spring 与Mybaits的自动提示

用框架开发时,框架有太多的标签需要记,太多容易搞混,所以就需要导入提示,从网上找到的都不太详细,就把网上跟自己使用的整合起来,希望有所帮助

首先配置spring,源码跟约束的话可以从网上找,那么我们先来配置

配置mybaitsa核心配置文件提示

打开myeclipse-->window-->preferences -->搜索框搜索 XML cataLog

第一步 :导航栏找到window

Myeclispse 配置Spring 与Mybaits的自动提示

第二步:


Myeclispse 配置Spring 与Mybaits的自动提示

Myeclispse 配置Spring 与Mybaits的自动提示

第三步:

Myeclispse 配置Spring 与Mybaits的自动提示

Myeclispse 配置Spring 与Mybaits的自动提示


Myeclispse 配置Spring 与Mybaits的自动提示

第四步:点击ok配置成功

mapper.xml自动提示

前几步一致,在选择头文件在mapper中选择蓝色部分

Myeclispse 配置Spring 与Mybaits的自动提示

Myeclispse 配置Spring 与Mybaits的自动提示

注意:dtd版本要跟头文件上的版本对应


配置Spring配置文件提示:导入.xsd文件


第一步 :导航栏找到window

Myeclispse 配置Spring 与Mybaits的自动提示

第二步:

Myeclispse 配置Spring 与Mybaits的自动提示

Myeclispse 配置Spring 与Mybaits的自动提示


第三步:


Myeclispse 配置Spring 与Mybaits的自动提示

Myeclispse 配置Spring 与Mybaits的自动提示



Myeclispse 配置Spring 与Mybaits的自动提示

最后:

Myeclispse 配置Spring 与Mybaits的自动提示

到此所有以配置好