当前位置:网站首页>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键或者回车
边栏推荐
- 【Hot100】33. Search rotation sort array
- 前缀、中缀、后缀表达式「建议收藏」
- MySQL - database query - sort query, paging query
- Reverse Polish notation
- JS to determine whether an element exists in the array (four methods)
- 聊聊异步编程的 7 种实现方式
- Go array and slice
- Shuttle INKWELL & ink components
- UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe6 in position 76131: invalid continuation byt
- Write macro with word
猜你喜欢
C object storage
Detailed explanation of navigation component of openharmony application development
"Baidu Cup" CTF competition in September, web:sql
什么是网络端口
RHCSA9
记录一下在深度学习-一些bug处理
Association modeling method in SAP segw transaction code
Hundred days to complete the open source task of the domestic database opengauss -- openguass minimalist version 3.0.0 installation tutorial
go 数组与切片
Navigation property and entityset usage in SAP segw transaction code
随机推荐
About the single step debugging of whether SAP ui5 floating footer is displayed or not and the benefits of using SAP ui5
MMSeg——Mutli-view时序数据检查与可视化
初次使用腾讯云,解决只能使用webshell连接,不能使用ssh连接。
"Baidu Cup" CTF competition in September, web:upload
Write macro with word
A specific example of ABAP type and EDM type mapping in SAP segw transaction code
Rocky基础知识1
数据泄露怎么办?'华生·K'7招消灭安全威胁
ABAP editor in SAP segw transaction code
RHCSA8
Laravel document reading notes -mews/captcha use (verification code function)
Write API documents first or code first?
go map
go map
“百度杯”CTF比赛 九月场,Web:Upload
C# 对象存储
Natural language processing from Xiaobai to proficient (4): using machine learning to classify Chinese email content
Jenkins installation
[深度学习论文笔记]使用多模态MR成像分割脑肿瘤的HNF-Netv2
一网打尽异步神器CompletableFuture