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