当前位置:网站首页>Idea设置方法注释和类注释
Idea设置方法注释和类注释
2022-07-05 13:19:00 【罗汉翔】
类注释-模板1
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
*@author:${USER}
*@date:${DATE}
*@description:${description}
*/
public class ${NAME} {
}
展示创建时候的效果
类注释-模板2
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
*@author: ${author}
*@date:${DATE}
*@description: ${description}
*/
public class ${NAME} {
}



类注释-模板3
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
*@author: 罗汉翔
*@date:${DATE}
*@description:
*/
public class ${NAME} {
}


方法注释

将下面文字输入到Template text:
*
* @Param $param$
* @return $return$
* @Description $end$
*
**/

用的时候直接 /*然后 再加上设置的快捷键,一般都是Tab键或者回车
边栏推荐
猜你喜欢

Simple page request and parsing cases

初次使用腾讯云,解决只能使用webshell连接,不能使用ssh连接。

About the single step debugging of whether SAP ui5 floating footer is displayed or not and the benefits of using SAP ui5

《2022年中國銀行業RPA供應商實力矩陣分析》研究報告正式啟動

Concurrent performance test of SAP Spartacus with JMeter

MMSeg——Mutli-view时序数据检查与可视化

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt

Get to know linkerd project for the first time

Hundred days to complete the open source task of the domestic database opengauss -- openguass minimalist version 3.0.0 installation tutorial

jenkins安装
随机推荐
Default parameters of function & multiple methods of function parameters
Reverse Polish notation
Small case of function transfer parameters
【MySQL 使用秘籍】一网打尽 MySQL 时间和日期类型与相关操作函数(三)
[daily question] 1200 Minimum absolute difference
leetcode:221. Maximum square [essence of DP state transition]
Shu tianmeng map × Weiyan technology - Dream map database circle of friends + 1
[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel
The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched
Write API documents first or code first?
MATLAB论文图表标准格式输出(干货)
DataPipeline双料入选中国信通院2022数智化图谱、数据库发展报告
It's too convenient. You can complete the code release and approval by nailing it!
MSTP and eth trunk
Reflection and imagination on the notation like tool
APICloud Studio3 WiFi真机同步和WiFi真机预览使用说明
OpenHarmony应用开发之Navigation组件详解
Run, open circuit
Association modeling method in SAP segw transaction code
Talking about fake demand from takeout order