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

  • 1.20.0
  • github.​com
  • github.​com
  • 5 months ago
  • 20 minutes ago
  • 4 years ago

Installs

  • Total 15K
  • Win 4K
  • Mac 6K
  • Linux 5K
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 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 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
Windows 1 3 4 2 2 3 1 0 4 1 3 1 5 3 5 3 4 0 2 2 3 3 3 2 3 1 6 6 4 3 5 3 8 9 2 2 0 5 2 4 3 1 5 4 1 1
Mac 0 3 4 4 3 3 3 6 9 5 3 2 2 6 7 7 1 4 4 1 1 5 2 3 0 7 2 6 6 5 0 4 3 7 4 7 1 1 4 7 2 4 0 3 3 2
Linux 1 7 2 6 3 1 5 6 5 5 6 13 9 6 2 3 4 7 3 10 4 5 7 2 5 2 3 14 8 3 0 6 6 5 1 2 10 1 3 6 4 3 2 4 2 7

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.