我相信目前在绝大部分公司里,主要使用的框架是S(spring)S(spring MVC)M(mybatis),其中mybatis总体架构是编写mapper接口,框架扫描其对应的mapper.xml文件,由于xml里面编写大量的sql语句,所以在平时调试中需要对其进行调试,但是xml文件并不能像java文件一样,能快速进行跳转,对查找对应xml文件带来巨大的不便。网友基础idea强大的插件系统下,编写了免费插件Free Mybatis Plugin(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

    下面进行手把手教程安装

一、点击File==>Settings

idea插件(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

 

 二、选择点击Plugins===>选择点击Marketplace

idea插件(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

 

 三、输入框搜索Free Mybatis Plugin==》回车确定

idea插件(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

 

 四、点击Install进行安装

idea插件(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

 

 

五、点击重启idea插件生效

六、效果图如下GIF文件

idea插件(mybatis框架下mapper接口快速跳转对应xml文件)亲测好用!

相关文章:

  • 2021-04-22
  • 2021-09-08
  • 2021-09-23
  • 2021-12-18
  • 2021-05-27
  • 2021-11-24
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-01-27
  • 2022-12-23
  • 2022-01-13
  • 2021-09-04
相关资源
相似解决方案