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
When lsp-mode (LSP client that I am using for Emacs) tries to open a file, I am seeing the following message returned from the server:
[Trace - 05:56:20 PM] Received notification '$/progress'.
Params: {
"token": "5105710039192624326",
"value": {
"kind": "end",
"message": "Error loading packages: invalid workspace folder path: no such file or directory; check that the casing of the configured workspace folder path agrees with the casing reported by the operating system"
}
}
[Trace - 05:56:20 PM] Received notification 'window/showMessage'.
Params: {
"type": 1,
"message": "Error loading workspace folders (expected 1, got 0)\nfailed to load view for file:///<file-path>: invalid workspace folder path: no such file or directory; check that the casing of the configured workspace folder path agrees with the casing reported by the operating system\n"
}
And then finally, lsp-mode bails with:
[Trace - 05:56:20 PM] Received response 'nil - (186)' in 0ms.
Result: {
"code": -32800,
"message": "JSON RPC cancelled"
}
[Trace - 05:56:20 PM] Received response 'textDocument/codeLens - (187)' in 99ms.
Result: {
"code": 0,
"message": "no views in session"
}
What did you expect to see?
gopls server should have correctly recognized the folder.
What did you see instead?
The error attached above.
Editor and settings
Editor:
"clientInfo": {
"name": "emacs",
"version": "GNU Emacs 29.1 (build 2, aarch64-apple-darwin22.6.0, NS appkit-2299.70 Version 13.5 (Build 22G74))\n of 2023-08-18"
},
The text was updated successfully, but these errors were encountered:
aruneshpa
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Oct 5, 2023
I am using gopls in Emacs to connect to a remote workspace over SSH (using tramp).
Local machine is running Mac OSX and remote is Linux.
Remote gopls version
On remote:
Remote go env
Local gopls version
Local go env
What did you do?
When lsp-mode (LSP client that I am using for Emacs) tries to open a file, I am seeing the following message returned from the server:
And then finally, lsp-mode bails with:
What did you expect to see?
gopls server should have correctly recognized the folder.
What did you see instead?
The error attached above.
Editor and settings
Editor:
lsp mode editor settings:
The text was updated successfully, but these errors were encountered: