当前位置:网站首页>解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
2022-08-01 01:17:00 【Apple-yeran】
在使用mybatis时,经常要创建*Mapper.xml文件,但是默认情况下,IDEA右击、新建,是没有XML文件模板的,所以就需要自己去spring官网找。
每次创建一个项目时,像上面那么操作显示是浪费麻烦的。
IDEA支持创建自定义的文件模板,步骤如下:
点击加号后,
接下来复制粘贴模板
这时候右击,new,就可以创建刚刚设置的文件模板了,
创建的文件如下所示(就是刚刚设置的模板):
需要设置其它文件模板的步骤与原理与此类似。
结束语:如果本篇博客对您有帮助,请点赞、收藏或关注,您的鼓励是博主进步的动力,感谢支持,共同进步。
边栏推荐
- C字符串数组反转
- OSD读取SAP CRM One Order应用日志的优化方式
- Team of Professor Chen Jianyu of Tsinghua University | Contact Safety Reinforcement Learning Framework Based on Contact-rich Robot Operation
- Fat interface in JQESAP system
- SC7A20 (Silan Micro-Accelerometer) Example
- C string array reverse
- 从零造键盘的键盘超级喜欢,IT人最爱
- ROS2 series of knowledge (4): understand the concept of [service]
- Rasa 3.x 学习系列- Rasa - Issues 4898 学习笔记
- By Value or By Reference
猜你喜欢
JVM面试题总结(持续更新中)
Introduction to machine learning how to?
蓝图:杨辉三角排列
Application of integrated stepper motor in UAV automatic airport
你需要知道的 TCP 四次挥手
ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py
VPGNet
【Cryptography/Cryptanalysis】Cryptanalysis method based on TMTO
RTL8762DK 点灯/LED(三)
随机推荐
Nmap 操作手册 - 完整版
谷歌『云开发者速查表』;清华3D人体数据集;商汤『通用视觉框架』公开课;Web3极简入门指南;高效深度学习免费书;前沿论文 | ShowMeAI资讯日报
Key Points Estimation and Point Instance
ROS2系列知识(4): 理解【服务】的概念
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
自动化机器学习pycaret: PyCaret Basic Auto Classification LightGBM
Luogu P3373: 线段树
【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard
MYSQL-批量插入数据
高维高斯分布基础
Matlab / ArcGIS 处理GPM全球月均降水数据
Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
sqlserver无法远程连接
Inheritance and friend, static member relationship
Team of Professor Chen Jianyu of Tsinghua University | Contact Safety Reinforcement Learning Framework Based on Contact-rich Robot Operation
JVM面试题总结(持续更新中)
You need to know the TCP wave four times
从零造键盘的键盘超级喜欢,IT人最爱
500 miles
Introduction to the five data types of Redis