x/tools/gopls: report if accepting a completion item will result in auto-import #70975
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
0.17.1
go env
What did you do?
"os" is not yet imported:
however, strings are already imported:
What did you see happen?
They looks the same.
What did you expect to see?
Show a hint whether a package is going to be auto-imported, because some package names look similar, I want to use an already imported one, but find myself often accept a wrong name, therefor need to undo auto import.
In clangd, there is a little circle indicating this:
after accpeting
printf
, the circle disappears, becausestdio.h
is auto importedEditor and settings
No response
Logs
No response
The text was updated successfully, but these errors were encountered: