当前位置:网站首页>IDEA中实现Mapper接口到映射文件xml的跳转
IDEA中实现Mapper接口到映射文件xml的跳转
2022-07-29 05:28:00 【crysw】
个人博客
欢迎访问个人博客: https://www.crystalblog.xyz/
备用地址: https://wang-qz.gitee.io/crystal-blog/
背景
在mapper接口中的方法, 需要定位到mapper映射xml文件中位置时, 只能全局搜索或打开mapper映射xml文件内搜索, 有没有什么方式可以直接鼠标点击mapper接口方法, 就能快速定位到mapper映射xml文件的id位置呢? 经过一番搜索, 发现了一款好用的插件 MyBatisX.
安装插件
在idea插件库中搜索 MyBatisX, 点击安装后重启IDEA就可以使用了.
重启IDEA后, 可以看到mapper接口和mapper映射xml文件用不同颜色的小飞鸟图标进行了标识.
鼠标点击mapper接口的方法 或 方法左边的红色小飞鸟图标, 会直接跳转到mapper映射xml文件的对应id位置. 在xml文件中的行号也有展示.
好用的很, 分享给大家.
边栏推荐
- Mutual conversion between Base64 and file
- The core of openresty and cosocket
- Shallow reading of condition object source code
- 10种常见的软件架构模式
- pairs和ipairs的区别
- 王树尧老师运筹学课程笔记 05 线性规划与单纯形法(概念、建模、标准型)
- 实战!聊聊如何解决MySQL深分页问题
- NLP word segmentation
- Use of callable
- Enterprise manager cannot connect to the database instance in Oracle10g solution
猜你喜欢
Hongke shares | why EtherCAT is the best solution to improve the performance of the control system?
Recurrent neural network RNN
【论文阅读】TomoAlign: A novel approach to correcting sample motion and 3D CTF in CryoET
etcd原理
会话推荐中的价格偏好和兴趣偏好共同建模-论文泛读
C语言数据类型
Hongke share | bring you a comprehensive understanding of "can bus error" (II) -- can error types
Apisik health check test
5g service interface and reference point
Why does 5g N2 interface control plane use SCTP protocol?
随机推荐
ping 原理
Instant 新日期类的使用 API
吴恩达老师机器学习课程笔记 00 写在前面
SS command details
王树尧老师运筹学课程笔记 07 线性规划与单纯形法(标准型、基、基解、基可行解、可行基)
JMM memory model concept
【经验】通过跳板机远程连接内网服务器的相关配置
5G服务化接口和参考点
【论文阅读 | cryoET】Gum-Net:快速准确的3D Subtomo图像对齐和平均的无监督几何匹配
王树尧老师运筹学课程笔记 01 导学与绪论
Introduction to OSPF theory
基于Matlab解决线性规划问题
Embedding理解+代码
CDM—码分复用(简单易懂)
崔雪婷老师最优化理论与方法课程笔记 00 写在前面
分享一些你代码更好的小建议,流畅编码提搞效率
Hongke shares | how to test and verify complex FPGA designs (1) -- entity or block oriented simulation
【冷冻电镜】Relion4.0——subtomogram教程
Loss function -- cross entropy loss function
N2 interface of 5g control plane protocol