当前位置:网站首页>解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
2022-08-01 01:17:00 【Apple-yeran】
在使用mybatis时,经常要创建*Mapper.xml文件,但是默认情况下,IDEA右击、新建,是没有XML文件模板的,所以就需要自己去spring官网找。
每次创建一个项目时,像上面那么操作显示是浪费麻烦的。
IDEA支持创建自定义的文件模板,步骤如下:
点击加号后,
接下来复制粘贴模板
这时候右击,new,就可以创建刚刚设置的文件模板了,
创建的文件如下所示(就是刚刚设置的模板):
需要设置其它文件模板的步骤与原理与此类似。
结束语:如果本篇博客对您有帮助,请点赞、收藏或关注,您的鼓励是博主进步的动力,感谢支持,共同进步。
边栏推荐
- Summary of MVCC
- 值传递还是引用传递(By Value or By Reference)
- [AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle
- RTL8762DK PWM(七)
- 【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
- MYSQL事务
- 机器学习初学者可以学哪些实战项目?
- Matlab/ArcGIS processing GPM global monthly precipitation data
- [AMEX] LGBM Optuna美国运通信用卡欺诈赛 kaggle
- WebApi 打个Attribute 统一处理异常
猜你喜欢

机器学习应该如何入门?

Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation

RTL8762DK PWM(七)
![leetcode: 1648. Color ball with decreasing sales value [Boundary find by two points]](/img/b9/7bd33bd981ace25e3bbfc7be9117ff.png)
leetcode: 1648. Color ball with decreasing sales value [Boundary find by two points]

Matlab/ArcGIS processing GPM global monthly precipitation data

从零造键盘的键盘超级喜欢,IT人最爱

pycaret源码分析:下载数据集\Lib\site-packages\pycaret\datasets.py

MYSQL master-slave replication

两院院士直言:不要迷信院士

Classes and Objects: Above
随机推荐
gateway gateway cross domain
TCP协议详解
Exam preparation plan
Js replication
What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
[Microservice] Distributed Transaction Solution - Seata
Compose principle - the view and the principle of two-way data binding
500 miles
C字符串数组反转
Summary of MVCC
/usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*解决办法
MYSQL Index Analysis
Nmap 操作手册 - 完整版
MYSQL主从复制
ROS2 series of knowledge (4): understand the concept of [service]
Super like the keyboard made from zero, IT people love it
C string array reverse
What practical projects can machine learning beginners learn?
JQESAP系统里的胖接口Fat interface
cmake入门学习笔记