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