This page provides an index of all supported features of gopls that are accessible through the language server protocol (LSP). It is intended for:
In an ideal world, Go users would not need to know that gopls or even LSP exists, as their LSP-enabled editors would implement every facet of the protocol and expose each feature in a natural and discoverable way. In reality, editors vary widely in their support for LSP, so unfortunately these documents necessarily involve many details of the protocol.
We also list settings that affect each feature.
Most features are illustrated with reference to VS Code, but we will briefly mention whether each feature is supported in other popular clients, and if so, how to find it. We welcome contributions, edits, and updates from users of any editor.
Contributors should update this documentation when making significant changes to existing features or when adding new ones.
text/template
and html/template