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