LSP-gopls
Golang support for Sublime's LSP plugin
Details
Installs
- Total 11K
- Win 3K
- Mac 4K
- Linux 4K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 2 | 2 | 0 | 1 | 1 | 0 | 0 | 2 | 3 | 4 | 2 | 4 | 4 | 2 | 5 | 2 | 1 | 3 | 4 | 3 | 2 | 1 | 0 | 6 | 4 | 2 | 4 | 5 | 2 | 4 | 2 | 4 | 4 | 3 | 3 | 3 | 1 | 6 | 6 | 4 | 1 | 3 | 1 | 4 |
Mac | 0 | 3 | 0 | 3 | 4 | 3 | 7 | 0 | 0 | 0 | 4 | 3 | 4 | 7 | 2 | 6 | 5 | 7 | 3 | 5 | 5 | 3 | 4 | 6 | 2 | 6 | 2 | 4 | 2 | 6 | 6 | 9 | 0 | 5 | 4 | 1 | 2 | 7 | 6 | 5 | 2 | 5 | 6 | 3 | 5 | 7 |
Linux | 0 | 2 | 2 | 1 | 0 | 3 | 3 | 0 | 0 | 5 | 2 | 7 | 2 | 3 | 4 | 3 | 2 | 7 | 1 | 0 | 3 | 2 | 5 | 3 | 6 | 1 | 3 | 2 | 3 | 7 | 2 | 4 | 5 | 5 | 2 | 6 | 4 | 4 | 4 | 6 | 4 | 5 | 8 | 4 | 2 | 3 |
Readme
- Source
- raw.githubusercontent.com
LSP-gopls
Golang support for Sublime's LSP plugin.
Uses Go Language Server to provide validation, formatting and other features for Go & Go Mod files. See linked repository for more information.
Prerequisites
- Go (Golang) must be installed and configured in your
PATH
Optionals
LSP-gopls implements the ability for results from Go Tests to be output into a panel. In order to support this, please install Terminus
Installation
- Install LSP and LSP-gopls from Package Control. Optionally install Sublime Gomod for gomod support.
- Restart Sublime.
Configuration
Open configuration file using command palette with Preferences: LSP-gopls Settings
command or opening it from the Sublime menu (Preferences > Package Settings > LSP > Servers > LSP-gopls
).
Settings
Configure the default Go language server ('gopls'). In most cases, configuring this section is unnecessary. See the documentation for all available settings.