File ->Setting
![](https://img.haomeiwen.com/i6766272/9f8b482c57c37537.jpg)
1:打开 Settings-Live Template,显示默认的 Live Template 配置
2:点击 + ,选择 Template Group,创建名为 user 的组
![](https://img.haomeiwen.com/i6766272/78d799579941dc7b.jpg)
3:点击 +,选择 Live Template
![](https://img.haomeiwen.com/i6766272/bfc8840f1494a932.jpg)
![](https://img.haomeiwen.com/i6766272/2a4d2e14cad6bf8b.jpg)
4:右键选择Change context ,勾选 Java:declaratio
![](https://img.haomeiwen.com/i6766272/86a496d2f002409c.jpg)
5:@apiAll 可以任意输入
6:描述可以任意输入
7:注释模板输入(可以使用'
![](https://img.haomeiwen.com/i6766272/31aeee12c28b41be.jpg)
File ->Setting
1:打开 Settings-Live Template,显示默认的 Live Template 配置
2:点击 + ,选择 Template Group,创建名为 user 的组
3:点击 +,选择 Live Template
4:右键选择Change context ,勾选 Java:declaratio
本文标题:自定义代码模块
本文链接:https://www.haomeiwen.com/subject/quaiqqtx.html
网友评论