Skip to content

Golang support for Sublime's LSP plugin

License

Notifications You must be signed in to change notification settings

sublimelsp/LSP-gopls

Folders and files

NameName
Last commit message
Last commit date
Jan 29, 2025
Jan 29, 2025
Aug 21, 2024
Jan 7, 2023
Jun 3, 2022
Feb 11, 2024
Jun 12, 2021
Jan 6, 2023
Jan 29, 2025
Jan 2, 2023
Jun 20, 2022
Jul 17, 2024
Nov 6, 2022
Jan 29, 2025

Repository files navigation

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.