Language Servers
Axon documentation
Go
Go language-server support in Axon.
Go
gopls
Go support for module-aware navigation, diagnostics, symbols, references, formatting, and code actions.
Delivery
system or bundled resolver depending on build
Activation
.go files and go.mod workspaces
Capabilities
Uses go.mod and workspace metadata for package-aware completions and navigation.
Supports diagnostics, hover, definitions, references, rename, formatting, and organize imports.
Surfaces project problems through Axon Problems and editor diagnostics.
Setup
Install Go and make sure gopls can run for the target project.
Open the folder that owns go.mod or go.work.
Run go mod download when dependencies are not available locally.
Troubleshooting
If packages do not resolve, check go.mod, go.work, and module downloads.
If formatting fails, confirm the Go toolchain is on PATH.
If references are incomplete, wait for gopls indexing or open the module root.