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

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.