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

LSP-gopls

by sublimelsp ST4 Trending

Golang support for Sublime's LSP plugin

Details

Installs

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

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.