GOX ToolsThe official GOX extension for Visual Studio Code. Write Go code, HTML templates, and components in GOX Tools automatically sets up GOX and its language server so you can get started without installing Go separately. InstallationInstall GOX Tools, published by gox-lang, from the VS Code Extensions panel or Visual Studio Marketplace. You can also install it from a terminal:
Requires Visual Studio Code 1.91 or later and a trusted workspace. The initial download of GOX and its tools requires an internet connection. Getting started
If you do not have a project yet, open a new integrated terminal after GOX finishes installing and run:
To explore an application with interactive examples, create the demo project:
Tools for writing GOX
The language server is part of the GOX executable and runs through GOX Dark and GOX Light themesThe extension includes GOX Dark and GOX Light, with colors that distinguish Go code, templates, and components. Select either theme using Preferences: Color Theme in the Command Palette. You can also keep using your preferred theme. GOX installation and updatesGOX Tools looks for Automatic installations are stored in a user directory and do not require administrator permissions. The extension configures your user PATH so The language server prepares the Go version it needs. You do not need to install or configure Go manually to use it. For installations managed by GOX Tools, the language server checks for updates every 24 hours. When a newer stable release is available, it installs the update in the background and the extension restarts the language server. Running applications continue using their current version. External installations receive an update notice. You can also update GOX manually:
When running an application with Supported systemsOfficial binaries are available for x64 and ARM64.
Go does not support native plugins on Windows. With WSL, your project and tools run on Linux. In remote workspaces, GOX Tools installs and runs GOX on the extension host, alongside your project. SettingsSearch for GOX in VS Code Settings to configure these options:
Changing the executable path automatically restarts the language server. An invalid custom path produces an error so you can correct it. To restart it manually, run GOX: Restart Language Server from the Command Palette. HelpIf completion is unavailable, check that the file's language mode is GOX, the workspace is trusted, and the initial setup has finished. If you configured a custom executable, verify its path and restart the language server. Report problems in the GOX Tools repository. Include your VS Code, GOX Tools, and GOX versions, your operating system, and steps to reproduce the issue. Contributing and securityBug reports and proposals are welcome. See CONTRIBUTING.md for the contribution policy and SECURITY.md for private vulnerability reporting. LicenseMIT, copyright 2026 Javier Marquez. |