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