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
Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here.
Test that having a comment at the start of a file allows imports
to be added correctly.
Updates golang/go#33721
Change-Id: Id1673c2509537413710b73261ad2a59afe06b93f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190800
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Running gopls version:
golang.org/x/tools/gopls v0.1.3
golang.org/x/tools/gopls@(devel)
settings:
"gopls": {
"useDeepCompletion": true,
"wantUnimportedCompletions": true,
},
What did you do?
Selected a completion of an unimported standard library package.
What did you expect to see?
The import being added after the package statement.
What did you see instead?
The import was added before the package statement.
The text was updated successfully, but these errors were encountered: