Add essential language support for the Go language to Sublime Text 3, including:
- Code completion
gocode - Goto Definition
godef + guru - Lint on save as well as lint manually
SublimeLinter + gometalinter - Format on save as well as format manually
gofmt + goimports - Rename
gorename
The Golite package is installed by using Package Control.
- If Package Control is not installed, follow the Installation Instructions
- Open the Sublime Text command palette and run the
Package Control: Install Packagecommand - Type
Goliteand select the package to perform the installation
Golite: FormatFormat manuallyGolite: GodefGo to definitionGolite: RenameRename identifierGolite: Install DependenciesInstall dependenciesGolite: Doctor - Audit InstallationAudit installation for common issues
- gocode
An autocompletion daemon for the Go programming language - guru
A tool for answering questions about Go source code - goimports
Update your Go import lines, adding missing ones and removing unreferenced ones - godef
Print where symbols are defined in Go source code - gometalinter
Concurrently run Go lint tools and normalise their output - gorename
Perform precise type-safe renaming of identifiers in Go source code - SublimeLinter
Interactive code linting framework for Sublime Text 3