x/tools/gopls: share workspace module with the client #42126
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Some editor clients run commands (
go test
,dlv
, etc.), and they may want to do so from the workspace module.We should develop a way for clients to run commands through the workspace module.
The current proposed design would be a
gopls run
command (on the command line) that takes a session identifier and runs a command, piping stdout/stderr back to the client. Before we set out on implementing and investigating this design, we'd like to understand the problem space a bit better. The fastest way to get something to the clients is a non-standard request to share a directory (a temporary directory whose path is based on the gopls PID) in which clients can run commands. It would only be intended for use by VS Code Go as a starting point for the investigation./cc @heschik @findleyr @hyangah
The text was updated successfully, but these errors were encountered: