You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure, but I think it is correct as it is. There is some weirdness about the logging where it is written by the server but interpreted by the tools as if it were written by the client.
I remember playing with it until https://microsoft.github.io/language-server-protocol/inspector/ gave the right results and then backing slowly away. If you could confirm whether the current log works with that tool, and then whether the change either makes the log start working or breaks it, that would be great.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you expect to see?
I just fired up
gopls
with the log file flag set and expected to see it log the initialize response that it sent.What did you see instead?
gopls
is indicating that it received a response that it actually sent.This seems to be an error in the following code: https://github.com/golang/tools/blob/dbb4d4be5353aa01a3652094d511f7fe53952a7f/internal/lsp/cmd/serve.go#L84-L88
Am I interpreting this incorrectly or is this indeed a bug? Happy to submit a CL if so.
The text was updated successfully, but these errors were encountered: