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

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.