Versions used
1.48.0-insider
0a7364f00514c46c9caceece15e1f82f82e3712f
x64
vscode-language-client version: 7.0.0-next.7
I'm not sure if this is a VS Code or language client issue, so please transfer this if it's the wrong repository.
After calling find references, I clicked on the link to the file in the results (shown in the image below).

This sent a textDocument/didOpen request for the file in question (server_gen.go). I then navigated back to the file explorer view and never looked at the references results again, but the server never received a textDocument/didClose for the file. I also tried clearing the results, but that also did not send a textDocument/didClose.
Is this intended behavior? Some of the logic in the Go language server relies on showing different diagnostics if a file is opened or closed, and this results in some unexpected behavior.
Thanks!
Versions used
I'm not sure if this is a VS Code or language client issue, so please transfer this if it's the wrong repository.
After calling find references, I clicked on the link to the file in the results (shown in the image below).
This sent a
textDocument/didOpenrequest for the file in question (server_gen.go). I then navigated back to the file explorer view and never looked at the references results again, but the server never received atextDocument/didClosefor the file. I also tried clearing the results, but that also did not send atextDocument/didClose.Is this intended behavior? Some of the logic in the Go language server relies on showing different diagnostics if a file is opened or closed, and this results in some unexpected behavior.
Thanks!