6

The Go Play Space

 4 years ago
source link: https://goplay.space
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

About Go Play Space

This is an experimental alternative Go Playground frontend that is built in Go itself (using GopherJS, a Go→JavaScript transpiler, and Vecty, a React-like frontend library for GopherJS).

View source code on GitHub

Features

  1. New: an embedded Turtle graphics mode. Intoduce Go to your kids, or have fun yourself!
  2. Syntax highlighting, auto-closing braces and quotes, proper undo/redo, auto indentation
  3. Smart help lookup: double-click on e.g. package keyword or Println function name in source code, and you will see the relevant help topic. Try it!
  4. Live syntax error checking
  5. Error line highlighting (both for syntax errors and for errors returned from the compiler)
  6. Ability to highlight lines and blocks of code (like on Github, but better!) — just click on the line numbers. Use Shift and Ctrl to modify the selection
  7. Keyboard shortcuts (see button captions)
  8. Support for several UI themes and UI tweaks (see the Settings button)
  9. Support for Fira Code font (either the one installed in your system or a webfont)
  10. go imports is always run before running your code, so you don't usually have to worry about imports at all

Code execution is proxied to the official Go Playground, so your programs will work the same. Shared snippets are also stored on golang.org servers. Any requests for content removal should be directed to [email protected]. Please include the URL and the reason for the request.

Feedback

Feel free to provide your feedback, suggestions or bug reports in the official bug tracker, or message @afan in the Gophers Slack channel.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK