Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Qida SnippetsNew to Visual Studio Code? Get it now.
Qida Snippets

Qida Snippets

qida

|
113 installs
| (0) | Free
Golang Docker Thrift Beego Shell snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

用法 Usage <beego.code-snippets>

前缀 prefix 说明 description
beecuid Uid
bee2limit 分页
bee1limit 分页
beecnew c自由更新
beemerrno 没有数据
beemlb ORM联表查询
beemnew 新加更新对象
goormroll 回滚
beesql 去重更新
beesqldelete 删除重复
govalidatian 字段验证
beemlimit 分页参数判断
beeorm 分页查询
beemfo 新建方法带分页排序
beemfoqb 新建方法带分页排序
beemfoqs 新建方法带分页排序
beecym 年月时间转换
beeclist 获取对象列表
beemlist 获取对象列表
beemquery 获取对象列表
beecqsrq1 起始日期1
beecqsrq2 起始日期2
beemain 程序测试main

用法 Usage <comment.code-snippets>

前缀 prefix 说明 description
zsksjs,开始结束 开始结束
zsk,注释块 注释块
zssjk,数据库操作 数据库操作
snippets Snippets初始化

用法 Usage <docker.code-snippets>

前缀 prefix 说明 description
d alpine 使用Alpine镜像
d golang 构建golang环境
d ubuntu 基本ubuntu环境
d debian 基本debian环境

用法 Usage <flutter.code-snippets>

前缀 prefix 说明 description
not install 解决显示AndroidStudio没有安装

用法 Usage <git.code-snippets>

前缀 prefix 说明 description
git 解决git登陆问题
git 解决git外网问题
git 取消git代理设置
git git报错unsafe repository解决方案
git 升级git

用法 Usage <go.code-snippets>

前缀 prefix 说明 description
package declare go package
import multiple multiple packages
import single single packages
func _err function
type struct
fgx 分隔线
iferr 打印错误
if _err 打印错误
err err error
_err _err error
defer 匿名函数

用法 Usage <go_func.code-snippets>

前缀 prefix 说明 description
func main 主函数main
g []byte2string []byte转string
g good_quit 退出
g download 文件下载带进度条
g open file 打开文件
g tcp TCP端口复用
g udp UDP端口复用
g exit 优雅退出
g http HTTP请求
g log log日志文件

用法 Usage <go_thrift.code-snippets>

前缀 prefix 说明 description
t.server thrift server
t.server 完整的Thrift服务
t.client thrift client
t.client 完整Thrift客户端
t.ife if err != nil return _err
t.test 测试用例

用法 Usage <html.code-snippets>

前缀 prefix 说明 description
cdn CDN

用法 Usage <json.code-snippets>

前缀 prefix 说明 description
json,add 新的用户代码
settings.json settings.json
launch.json launch.json

用法 Usage <linux.code-snippets>

前缀 prefix 说明 description
kill Kill指定端口进程,第二行为PID

用法 Usage <shell.code-snippets>

前缀 prefix 说明 description
sh version 读取Dockerfile ENV并修改
sh version 读取Dockerfile ENV并修改带引号

Thanks

https://blog.csdn.net/weixin_36719607/article/details/103345353
https://github.com/masterZSH/vscode-code-snippets

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft