当前位置:网站首页>Idea add class annotation template and method template
Idea add class annotation template and method template
2022-07-07 07:41:00 【Cooked snail】
Catalog
One 、 Class
File----------->settings------------------>Editor------------->File and Code Templates

The comments on the class are as follows

/**
* @description: TODO
* @author xiaojie
* @date ${DATE} ${TIME}
* @version 1.0
*/Two 、 Template on method

4 Situated * Shortcut keys for methods , When using, input /* Then the Enter key
6 The code at is as follows
**
* @description: $description$
* @param: $params$
* @return: $returns$
* @author xiaojie
* @date: $date$ $time$
*/modify 7 Parameters at

params The corresponding content is
groovyScript("def result = '';def params = \"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList();for(i = 0; i < params.size(); i++) {if(params[i] != '')result+='* @param ' + params[i] + ((i < params.size() - 1) ? '\\r\\n ' : '')}; return result == '' ? null : '\\r\\n ' + result", methodParameters())return The corresponding content is
methodReturnType()On the class ** Method repeat the above steps , The way to use it is to enter /** Then press enter
**
* @description: TODO
* @author xiaojie
* @date $date$ $time$
* @version 1.0
*/The final effect is as follows

边栏推荐
- How can a 35 year old programmer build a technological moat?
- Implementing data dictionary with JSP custom tag
- 2022-07-06:以下go语言代码是否会panic?A:会;B:不会。 package main import “C“ func main() { var ch chan struct
- 外包干了三年,废了...
- 知识点滴 - 关于苹果认证MFI
- 按键精灵采集学习-矿药采集及跑图
- 1089: highest order of factorial
- What is the difference between TCP and UDP?
- How to * * labelimg
- [2022 ACTF]web题目复现
猜你喜欢

考研失败,卷不进大厂,感觉没戏了

Kbu1510-asemi power supply special 15A rectifier bridge kbu1510

1、 Go knowledge check and remedy + practical course notes youth training camp notes

The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?

UWB learning 1

1141_ SiCp learning notes_ Functions abstracted as black boxes

Cloud backup project
![[semantic segmentation] - multi-scale attention](/img/2d/652681c08e484fe232b8fb91b7194e.jpg)
[semantic segmentation] - multi-scale attention

为什么要了解现货黄金走势?

Make a bat file for cleaning system garbage
随机推荐
vus.SSR在asynData函数中请求数据的注意事项
English translation is too difficult? I wrote two translation scripts with crawler in a rage
记一个并发规则验证实现
How to reduce inventory with high concurrency on the Internet
Simple example of ros2 planning system plansys2
How can a 35 year old programmer build a technological moat?
2、 Concurrent and test notes youth training camp notes
机器人技术创新与实践旧版本大纲
My ideal software tester development status
gatk4中的interval是什么??
[2022 CISCN]初赛 web题目复现
UWB learning 1
微信小程序中的路由跳转
Initial experience of teambiion network disk (Alibaba cloud network disk)
Six methods of flattening arrays with JS
ASEMI整流桥RS210参数,RS210规格,RS210封装
Several important steps to light up the display
【数学笔记】弧度
JSON introduction and JS parsing JSON
Model application of time series analysis - stock price prediction