mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
internal/lsp: enable textDocument/implementation request
Change-Id: I0ff2d89a8f23de65f4ac4c732bfee69bf9df36a6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/204563 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
parent
e931b35e96
commit
b7d1af61b1
@ -80,6 +80,8 @@ func (s *Server) initialize(ctx context.Context, params *protocol.ParamInitia) (
|
|||||||
TriggerCharacters: []string{"."},
|
TriggerCharacters: []string{"."},
|
||||||
},
|
},
|
||||||
DefinitionProvider: true,
|
DefinitionProvider: true,
|
||||||
|
TypeDefinitionProvider: true,
|
||||||
|
ImplementationProvider: true,
|
||||||
DocumentFormattingProvider: true,
|
DocumentFormattingProvider: true,
|
||||||
DocumentSymbolProvider: true,
|
DocumentSymbolProvider: true,
|
||||||
ExecuteCommandProvider: &protocol.ExecuteCommandOptions{
|
ExecuteCommandProvider: &protocol.ExecuteCommandOptions{
|
||||||
@ -101,7 +103,6 @@ func (s *Server) initialize(ctx context.Context, params *protocol.ParamInitia) (
|
|||||||
IncludeText: false,
|
IncludeText: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
TypeDefinitionProvider: true,
|
|
||||||
Workspace: &struct {
|
Workspace: &struct {
|
||||||
WorkspaceFolders *struct {
|
WorkspaceFolders *struct {
|
||||||
Supported bool "json:\"supported,omitempty\""
|
Supported bool "json:\"supported,omitempty\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user