当前位置:网站首页>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())
边栏推荐
- TRUNC in pytorch_ normal_ principle
- Typescript class and interface, class and generic, interface merging
- Js基础学习Script
- How to do well in empty state design? Look at this comprehensive summary
- The difference between equals and = =
- Asynchronous notification mechanism of character device driver
- Socket [5] - struct linker usage
- Entity class conversion cannot be reassigned
- 结果和目标出入太大?不妨借助目标管理精准直达目标!
- How to find the complementary sequence of digraph
猜你喜欢

Magnifying mirror rendering

怎么做好项目管理?学会这4个步骤就够了
![[the most complete ENSP [installation diagram] in history!]](/img/1a/7d50d6e5c06a5e3ce6acab16ddb638.jpg)
[the most complete ENSP [installation diagram] in history!]

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

Difference between threadpooltaskexecutor and ThreadPoolExecutor

(transformation) tree, binary tree and forest transformation principle

torch. nn. functional. pad

XXL task executor calls local project

Training yolov4 CSP model using coco dataset

Process control: process waiting (recycling child processes)
随机推荐
Summary of force deduction questions
Process control: process waiting (recycling child processes)
彻底记住ImageView的background和src的区别
The role of lambdalr in pytorch
(resolved) typeerror: meshgrid() got an unexpected keyword argument 'indexing‘
【 史上最全的ENSP【安装图解】!】
Sign in system design: how to draw the sign in function
Label the mask image not obtained through labelme
Space geometry
DAMENG 数据库登陆
TypeScript-键盘映射
(resolved) pychart debug error -unicode decodeerror: 'UTF-8' codec can't decode byte 0xe8 in position 1023
torch. nn. functional. pad
Summary of embedded software interview questions
Getting started with bladed tutorial (video)
Typescript class and interface, class and generic, interface merging
Pg/oracle database ASCII code to string custom function
Training yolov4 CSP model using coco dataset
TypeScript-类型别名
TypeScript-null和undefined