Skip to content

Commit

Permalink
internal/lsp: update LSP stubs, including provisional InlayHints
Browse files Browse the repository at this point in the history
There are also new InlineValue RPCs.

Change-Id: I4ba6d4c112760a5c5a199287843c61071a7f59a2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/390334
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Kortschak <dan@kortschak.io>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
  • Loading branch information
pjweinbgo committed Mar 16, 2022
1 parent fb5dfde commit 85d68bc
Show file tree
Hide file tree
Showing 7 changed files with 620 additions and 156 deletions.
2 changes: 1 addition & 1 deletion internal/lsp/lsprpc/lsprpc_test.go
Expand Up @@ -107,7 +107,7 @@ func (s WaitableServer) Hover(ctx context.Context, _ *protocol.HoverParams) (_ *
return &protocol.Hover{}, nil
}

func (s WaitableServer) Resolve(_ context.Context, item *protocol.CompletionItem) (*protocol.CompletionItem, error) {
func (s WaitableServer) ResolveCompletionItem(_ context.Context, item *protocol.CompletionItem) (*protocol.CompletionItem, error) {
return item, nil
}

Expand Down
10 changes: 5 additions & 5 deletions internal/lsp/protocol/tsclient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85d68bc

Please sign in to comment.