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