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