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
Initially, hovering over an identifier will display the popup with information on the symbol. After an indeterminate while, the hover will stop, formatting will stop, and the output for gopls will display something like
[Info - 4:29:19 PM] no signature help for file:///Volumes/ssda/mdhender/Software/ui5app/adapters/ui5/adapter.go:100:6 : cannot find an enclosing function
[Error - 4:29:20 PM] Request textDocument/codeAction failed.
Message: /Volumes/ssda/mdhender/Software/ui5app/adapters/ui5/adapter.go:101:18: missing ',' in parameter list
Code: 0
Note that the path in the error message is the canonical path for my project, not the path that I opened the editor in.
and
[Error - 4:31:46 PM] Request textDocument/hover failed.
Message: no room in queue
Code: -32000
An earlier error was
[Error - 2:17:19 PM] unable to check package for
file:///Volumes/ssda/mdhender/Software/ui5app/main.go: go [list -e -json -compiled=true -test=true -export=false -deps=true -find=false -- /Volumes/ssda/mdhender/Software/ui5app]: exit status 1: build github.com/mdhender/ui5app: cannot find module for path github.com/mdhender/ui5app/adapter
I haven't seen that again since a restart.
What did you expect to see?
Hovering over a symbol should show the popup and saving should do the formatting and updating import statements. Paths in the error messages should reflect the current location.
What did you see instead?
I'd expect that popups and formatting not stop working randomly. I'm surprised that the output shows the canonical path instead of the path that I started in, but I can almost understand that.
FWIW, I don't think that the apparent out of memory error is related to the symlink path. Just throwing that in for good measure.
The text was updated successfully, but these errors were encountered:
@freeformz that seems to be the case here, too. Adding a file and deleting it, then making a change in another file cause the hover popup to say "Loading..." and then the "no room in queue" starts. I'll try updating gopls. Thanks!
Confirmed - updating gopls fixes the error with popups and formatting after deleting a .go file.
$ gopls version
golang.org/x/tools/cmd/gopls
golang.org/x/tools@v0.0.0-20190531223538-26e35f15edef h1:tvvUBWZ5+WFnfcokh8TavIRxYRxUtmB+gQgCytJckhs=
I'm ok with closing this since it seems to be a feature of os.Getwd:
Getwd returns a rooted path name corresponding to the current directory. If the current directory can be reached via multiple paths (due to symbolic links), Getwd may return any one of them.
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 do?
Ran
code
from a symlinked directory.Initially, hovering over an identifier will display the popup with information on the symbol. After an indeterminate while, the hover will stop, formatting will stop, and the output for gopls will display something like
Note that the path in the error message is the canonical path for my project, not the path that I opened the editor in.
and
An earlier error was
I haven't seen that again since a restart.
What did you expect to see?
Hovering over a symbol should show the popup and saving should do the formatting and updating import statements. Paths in the error messages should reflect the current location.
What did you see instead?
I'd expect that popups and formatting not stop working randomly. I'm surprised that the output shows the canonical path instead of the path that I started in, but I can almost understand that.
FWIW, I don't think that the apparent out of memory error is related to the symlink path. Just throwing that in for good measure.
The text was updated successfully, but these errors were encountered: