x/tools/gopls: Doesn't auto-complete package statements for new files #40713
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?VS Code version v1.47.3
vscode-go v0.16.1
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?
pack
or some similar prefix at the start of the file.(Using gopls with vscode-go)
What did you expect to see?
I expect to see a complete for a package statement with the name of the package, saving me the need to type it out.
What did you see instead?
I get no such completion.
I would also expect it to provide package statement completion for the first file in a new package, guessing what should be the package name based on the import path.
The text was updated successfully, but these errors were encountered: