LSP-gopls
Golang support for Sublime's LSP plugin
Details
Installs
- Total 11K
- Win 3K
- Mac 4K
- Linux 4K
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 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 2 | 2 | 3 | 1 | 1 | 2 | 1 | 5 | 3 | 2 | 8 | 6 | 5 | 2 | 1 | 3 | 2 | 12 | 3 | 6 | 4 | 2 | 3 | 3 | 2 | 3 | 0 | 1 | 6 | 10 | 8 | 4 | 5 | 4 | 1 | 0 | 4 | 3 | 3 | 4 | 2 | 5 | 2 | 3 |
Mac | 5 | 4 | 5 | 10 | 1 | 8 | 2 | 4 | 2 | 2 | 1 | 4 | 4 | 5 | 7 | 4 | 5 | 3 | 1 | 6 | 6 | 5 | 4 | 1 | 9 | 4 | 1 | 2 | 5 | 4 | 6 | 3 | 10 | 3 | 0 | 2 | 3 | 2 | 2 | 10 | 3 | 8 | 5 | 1 | 5 | 4 |
Linux | 1 | 1 | 0 | 5 | 8 | 1 | 2 | 9 | 3 | 9 | 2 | 1 | 2 | 3 | 6 | 5 | 4 | 2 | 0 | 4 | 2 | 8 | 4 | 4 | 1 | 7 | 2 | 4 | 5 | 1 | 4 | 5 | 1 | 4 | 2 | 9 | 4 | 4 | 5 | 8 | 3 | 6 | 9 | 6 | 3 | 1 |
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.