1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
go/internal/lsp/lsprpc
Rob Findley 5ae4c3c160 internal/lsp/cmd: make -remote consistent across commands
The lsprpc package implements support for connecting to remotes on unix
domain sockets, as well as auto-starting the remote if it doesn't exist.

Unfortunately, commands other than 'serve' were instead assuming the tcp
network.

Fix this to share functionality.

Fixes golang/go#40732

Change-Id: I46c303ea91d087d7432e0e3236a68e58e1ea6344
Reviewed-on: https://go-review.googlesource.com/c/tools/+/248181
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-08-12 19:50:22 +00:00
..
autostart_default.go internal/lsp: use %w in error wrappers 2020-05-04 14:52:14 +00:00
autostart_posix.go internal/lsp: remove uses of crypto/sha1 in gopls 2020-07-28 22:26:17 +00:00
lsprpc_test.go internal/lsp/fake: move to a struct for configuring the sandbox 2020-07-23 23:36:26 +00:00
lsprpc.go internal/lsp/cmd: make -remote consistent across commands 2020-08-12 19:50:22 +00:00