当前位置:网站首页>Idea annotation settings
Idea annotation settings
2022-06-11 08:19:00 【Scarecrow 0.0】
IDEA Note settings
1、 Class notes
open setting

/** * @desc * @auth llp * @date ${YEAR} year ${MONTH} month ${DAY} Japan ${TIME} */
2、 Method notes
open setting, newly build Template Group , The name is userDefind.

Click on userDefind , newly build Live Template

Abbreviation by *, Description by Method notes , Expand with The Settings for Enter , Template text by :
*
* @desc
* @auth llp
* @date $date$ $time$$param$ $return$
*/
Click on Edit variables Set the value

1、 date The value of is :date()
2、 time The value of is :time()
3、 param The value of 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()
)
4、 return The value of is :
groovyScript("return \"${_1}\" == 'void'?null:'\\r\\n * @return ' + \"${_1}\"", methodReturnType())
边栏推荐
- (transformation) tree, binary tree and forest transformation principle
- Collation of basic knowledge of intermediate development of Andrews (for interview)
- Figure seamless database integration tushare interface
- 如何开始参与开源社区
- Pg/oracle database ASCII code to string custom function
- Dameng database login
- TypeScript-可辨识联合
- Typescript interface and type alias similarities and differences
- How CSDN reports plagiarized articles
- In an activity, view postdelay will cause memory leakage, but will not affect the life cycle execution of the activity.
猜你喜欢

How to make hyperlinks in RichTextBox- How can I make a hyperlink work in a RichTextBox?

(transformation) tree, binary tree and forest transformation principle

How to do well in empty state design? Look at this comprehensive summary

【 史上最全的ENSP【安装图解】!】

结果和目标出入太大?不妨借助目标管理精准直达目标!

Record a murder case caused by ignoring the @suppresslint ("newapi") prompt

Training yolov4 CSP model using coco dataset

Deep understanding of add in argparse module_ Argument parameters (such as action)

Difference between threadpooltaskexecutor and ThreadPoolExecutor

qiao-npms:获取npm包下载量
随机推荐
Logical implication of functional dependence
Typescript enumeration
Return in foreach and break in for
Post - payload of interface test
TypeScript-在koa中配置TS和使用koa-router
JS learning basics document Write write a line of text in the page
DAMENG 数据库登陆
Socket [5] - struct linker usage
How CSDN reports plagiarized articles
彻底记住ImageView的background和src的区别
Pg/oracle database ASCII code to string custom function
@Usage details of postconstruct, initializingbean and initmethod
TypeScript-枚举
TypeScript-类型别名
Label the mask image not obtained through labelme
【1】 Integrated learning: quickly understand Integrated Learning
TypeScript-null和undefined
Thoroughly remember the difference between ImageView background and SRC
Getting started with bladed tutorial (video)
Bubble sorting with C language