ItalyPaleAle / vscode-go-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:TypeScript 81.1%Language:JavaScript 18.9%