LSP-gopls
Golang support for Sublime's LSP plugin
Details
Installs
- Total 14K
- Win 4K
- Mac 5K
- Linux 5K
| 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 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 2 | 3 | 5 | 4 | 2 | 2 | 3 | 4 | 15 | 4 | 1 | 5 | 2 | 0 | 1 | 2 | 1 | 6 | 7 | 4 | 6 | 5 | 3 | 8 | 6 | 3 | 1 | 4 | 4 | 7 | 1 | 3 | 4 | 3 | 2 | 1 | 2 | 10 | 3 | 7 | 5 | 2 | 0 | 2 | 4 | 1 |
| Mac | 5 | 2 | 2 | 5 | 5 | 3 | 1 | 2 | 5 | 2 | 5 | 0 | 4 | 2 | 2 | 4 | 3 | 4 | 0 | 4 | 1 | 3 | 1 | 8 | 6 | 4 | 2 | 3 | 8 | 1 | 6 | 9 | 8 | 3 | 9 | 7 | 6 | 4 | 9 | 4 | 1 | 2 | 7 | 2 | 3 | 8 |
| Linux | 3 | 3 | 8 | 5 | 5 | 7 | 1 | 3 | 2 | 3 | 2 | 7 | 8 | 4 | 1 | 8 | 6 | 5 | 7 | 8 | 2 | 3 | 5 | 4 | 4 | 5 | 3 | 6 | 7 | 4 | 2 | 5 | 4 | 5 | 7 | 5 | 3 | 4 | 3 | 7 | 6 | 2 | 6 | 1 | 2 | 6 |
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.