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