1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:04:40 -07:00
go/internal/lsp/cmd
Ian Cottrell 0e55654012 internal/lsp: add shutdown handling
We correcly cancel all background tasks and drop all active views when
the server is asked to shut down now.
This was mostly to support the command line being able to exit cleanly

Change-Id: Iff9f5ab51572aad5e3245dc01aa87b00dcd47963
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174940
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-05-15 23:16:32 +00:00
..
check_test.go internal/lsp: making cmd tests fast and small 2019-05-10 20:14:07 +00:00
check.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
cmd_race_test.go internal/lsp: extract the common test logic 2019-04-22 16:50:02 +00:00
cmd_test.go internal/lsp: use builtin package for signature help 2019-05-15 13:46:40 +00:00
cmd.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
definition_test.go internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
definition.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
format_test.go internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
format.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
info.go internal/lsp: add version and bug commands 2019-05-11 04:16:02 +00:00
query.go internal/lsp: fix query cmd usage 2019-04-22 18:06:03 +00:00
serve.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00