点击 File → Settings... → Editor → Live Templates
点击 +
![](https://img-blog.csdnimg.cn/img_convert/3b7061db5b3edd7c7e72829d61e4f4d3.png)
选择新建组,取一个名字
![](https://img-blog.csdnimg.cn/img_convert/1d23febe09806144ca6ca4f47265e42a.png)
找到刚才新建的组
![](https://img-blog.csdnimg.cn/img_convert/074e3fa1b946e4f41e8f718f3e4a8b0d.png)
![](https://img-blog.csdnimg.cn/img_convert/d654d62e16dc0e6269f1e97d6108820e.png)
![](https://img-blog.csdnimg.cn/img_convert/23d0cd6c6def3c6eeb28ed2f5f7e2664.png)
注释文档为
**
* @Author $user$
* @Description //TODO
* @Date $time$ $date$
* @Param $param$
* @return $return$
**/
![](https://img-blog.csdnimg.cn/img_convert/75322e778bb6de4b85abd3f9c3382b89.png)
编辑变量
![](https://img-blog.csdnimg.cn/img_convert/6b722c78f3f2aaaf03732fe9ab24d07e.png)
选择对应参数,并打勾
![](https://img-blog.csdnimg.cn/img_convert/223b41642f2137e9c8aaa72e2fb5ef2a.png)
点击 File → Settings... → Editor → Live Templates
点击 +
选择新建组,取一个名字
找到刚才新建的组
注释文档为
**
* @Author $user$
* @Description //TODO
* @Date $time$ $date$
* @Param $param$
* @return $return$
**/
编辑变量
选择对应参数,并打勾