当前位置:网站首页>Solve the problem that when IDEA creates a new file by default, right-click, new, there is no XML file
Solve the problem that when IDEA creates a new file by default, right-click, new, there is no XML file
2022-08-01 01:19:00 【Apple-yeran】
When using mybatis, it is often necessary to create a *Mapper.xml file, but by default, IDEA right-click, create a new file, there is no XML file template, so you need to go to the spring official website to find it..
Every time a project is created, it is a waste of trouble to operate like the above.
IDEA supports the creation of custom file templates, the steps are as follows:
After clicking the plus sign,
Next copy paste template
thisRight-click, new, you can create the file template you just set, 
The created file looks like this (the template just set):
The steps and principles required to set other document templates are similar.
Concluding remarks: If this blog is helpful to you, please like, bookmark or follow. Your encouragement is the driving force for bloggers to progress. Thank you for your support and make progress together.
边栏推荐
猜你喜欢

解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题

Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni

Euler system (euleros): upgrade Mysql

微信小程序之小程序页面语法

Carefully summarize thirteen suggestions to help you create more suitable MySQL indexes

MYSQL Classic Interview Questions

ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割

【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】

Four ways the Metaverse is changing the way humans work
![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]
随机推荐
Luogu P3373: Segment tree
500 miles
MYSQL逻辑架构
Nmap Operation Manual - Full Version
高维高斯分布基础
修改Postman安装路径
Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
OSD read SAP CRM One Order application log way of optimization
【 】 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
Blueprint: Yang Hui's Triangular Arrangement
leetcode: 1648. Color ball with decreasing sales value [Boundary find by two points]
RTL8762DK PWM(七)
MYSQL transactions
Rasa 3.x Study Series - Rasa - Issues 4898 Study Notes
Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation
WebApi 打个Attribute 统一处理异常
Application of integrated stepper motor in UAV automatic airport
如何编辑epub电子书的目录
Unity3D学习笔记10——纹理数组
设备树的树形结构到底是怎样体现的?