LSP-gopls
Golang support for Sublime's LSP plugin
Details
Installs
- Total 14K
- Win 4K
- Mac 5K
- Linux 5K
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 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 2 | 4 | 3 | 4 | 2 | 7 | 7 | 3 | 2 | 4 | 3 | 1 | 3 | 5 | 1 | 1 |
Mac | 1 | 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 | 5 | 2 | 1 | 0 | 4 | 3 | 2 | 2 | 3 | 5 | 2 | 2 | 3 | 4 | 1 | 3 |
Linux | 1 | 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 | 4 | 4 | 6 | 5 | 6 | 3 | 3 | 6 | 5 | 1 | 6 | 4 | 5 | 6 | 5 | 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.