1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:44:41 -07:00
go/internal/lsp/protocol
Marwan Sulaiman 3e76bee198 x/tools/gopls: add support for $/progress functionality
This CL adds support for sending progress notifications through $/progress
calls as well as being able to cancel them through window/workDoneProgress/cancel.
This feature is only supported in clients running LSP 3.15 and therefore the initialize
request will check for client capabilities for its progress support.

Updates golang/go#37680

Change-Id: Iff8c016694746a9dd553e5cc49444df7afcc21f5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222981
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-03-16 21:25:24 +00:00
..
typescript x/tools/gopls: add support for $/progress functionality 2020-03-16 21:25:24 +00:00
context.go internal/lsp: migrate telemetry to using the event package 2020-03-12 03:59:16 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
log.go internal/lsp: fix lsp trace log format for gopls 2019-10-16 17:14:07 +00:00
protocol.go internal/lsp: migrate telemetry to using the event package 2020-03-12 03:59:16 +00:00
span.go internal/span,lsp: disambiguate URIs, DocumentURIs, and paths 2020-02-14 22:51:03 +00:00
tsclient.go x/tools/gopls: add support for $/progress functionality 2020-03-16 21:25:24 +00:00
tsprotocol.go x/tools/gopls: add support for $/progress functionality 2020-03-16 21:25:24 +00:00
tsserver.go x/tools/gopls: add support for $/progress functionality 2020-03-16 21:25:24 +00:00