Skip to content

x/tools/gopls: support LSP 3.18 #80200

Description

@adonovan

At long last, LSP 3.18 is out:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification

gopls should use it.

Features to audit for potential uses:

  • Added inline completions support.
  • Added dynamic text document content support.
  • Added refresh support for folding ranges.
  • Support to format multiple ranges at once.
  • Support for snippets in workspace edits.
  • Relative Pattern support for document filters and notebook document filters.
  • Support for code action kind documentation.
  • Add support for activeParameter on SignatureHelp and SignatureInformation being null.
  • Support tooltips for Command.
  • Support for meta data information on workspace edits.
  • Support for snippets in text document edits.
  • Support for debug message kind.
  • Client capability to enumerate properties that can be resolved for code lenses.
  • Added support for completionList.applyKind to determine how values from completionList.itemDefaults and completion are combined.

Metadata

Metadata

Assignees

Labels

ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions