Skip to content

haozibi/goplay

Folders and files

NameName
Last commit message
Last commit date
Jul 8, 2019
Jul 8, 2019
Jul 10, 2019
Jul 10, 2019
Jul 10, 2019
Jul 8, 2019
Jul 10, 2019
Jul 8, 2019
Jul 11, 2019
Jul 11, 2019
Jul 11, 2019
Jul 8, 2019
Jul 8, 2019
Jul 8, 2019

Repository files navigation

GoPlay

GoPlay

Latest Release Installs Downloads Rating

go-playground 助手

可以方便运行、格式化和分享 Go 代码,可以实现没有 Go 环境运行 Go 代码。

截图

安装

在商店搜索 GoPlay

使用

cmd + shift + p OR command + p 然后输入命令

  • Run
    • 命令: GoPlay: Run Code
  • Fmt
    • 命令: GoPlay: Fmt Code
  • Share
    • 命令: GoPlay: Share Code
  • Info
    • 命令: GoPlay: Show Info

配置项

配置项需要重启 VSCode 才能生效

  • playURL
  • withOutput
    • 描述: 是否输出附加到代码中
    • 默认: true
  • withImports
    • 描述: 是否开启 imports,只有 fmt 时有效
    • 默认: true
  • withForceFmt
    • 描述: 是否在运行代码的时候强制 fmt
    • 默认: false

License

This package is published under MIT license.