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