Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go PlaygroundNew to Visual Studio Code? Get it now.
Go Playground

Go Playground

ItalyPaleAle

|
4,289 installs
| (1) | Free
Run .go files using the Go Playground–also in the browser
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go Playground

Run and format Go (Golang) files directly from VS Code, using the Go Playground. This is a web extension that works in VS Code for the Web too, such as github.dev.

Features

  • Run Go files using the Go Playground directly within VS Code
  • See your app's output in the Output panel
  • Format Go files with go fmt through the Go Playground
  • Works in the browser with VS Code for the Web, including github.dev

Demo:

Demo of the extension: use the "Go: Format" action in the Status Bar to format the code, and "Go: Run file" to run it

Extension Settings

This extension contributes the following settings:

  • go-playground.playgroundUrl: URL of the Go Playground to use (default: https://play.golang.org)

Release Notes

See CHANGELOG.md.

TODO

  • [ ] Run multiple Go files at the same time
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft