系统配置
配置路径 File | Settings | Editor | File and Code Templates | Go File
/**
* @Author: 作者名
* @Description: 描述
* @File: ${NAME} //文件名称
* @Version: 1.0.0
* @Date: ${DATE} ${TIME} //时间
* @Software : ${PRODUCT_NAME} //开发软件【可选】
*/
效果展示
创建Go文件
注释插件
说明: 目前Golang只支持文件自动注释,若函数或者方法参数过多无法使用,在这里推荐一个注释插件Goanno
搜索插件
路由地址 File | Settings | Plugins
效果展示
快捷键
windows: Ctr+Window标识+/
MSC: control + commond + /