x/tools/gopls: auto-completion not listing values from unimported packages #57939
Labels
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
gopls version
go env
What did you do?
Support for autocompletion of unimported packages was introduced in this ticket #31906, but it seems not working, not sure if this feature has been deprecated. When you create a new package and import a value from such package in another one placed in the same workspace, no member is shown in the completions suggestions pop up. Attached a video as an example:
completion_unimported_packages.mov
What did you expect to see?
A list of candidates from unimported packages.
What did you see instead?
No candidates at all until I manually import a package.
Editor and settings
Editor:
Gopls settings:
The text was updated successfully, but these errors were encountered: