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

LSP-gopls

by sublimelsp ST4 Trending

Golang support for Sublime's LSP plugin

Labels lsp, go

Details

Installs

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

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.