ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-gopls

by sublimelsp ST4

Golang support for Sublime's LSP plugin

Labels lsp, go

Details

Installs

  • Total 14K
  • Win 4K
  • Mac 5K
  • Linux 5K
Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24
Windows 1 2 3 3 2 5 4 15 1 6 7 2 3 1 2 4 3 5 4 2 2 3 4 15 4 1 5 2 0 1 2 1 6 7 4 6 5 3 8 6 3 1 4 4 7 1
Mac 2 4 1 12 7 4 0 3 6 4 8 2 4 2 1 6 2 2 5 5 3 1 2 5 2 5 0 4 2 2 4 3 4 0 4 1 3 1 8 6 4 2 3 8 1 6
Linux 1 5 4 9 7 4 9 4 3 10 6 11 3 3 1 4 3 8 5 5 7 1 3 2 3 2 7 8 4 1 8 6 5 7 8 2 3 5 4 4 5 3 6 7 4 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

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.