x/tools/gopls: inconsistent placement of new import with local #35519
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
Consider a module
bug
with packagebug/bar
that exports identifierX
.gopls
is configured to have the local option equal to"bug/"
. In the packagebug
, we have the sourceIssuing an Organize Imports action respects the local option and leaves the import block as
whereas if the import for
"bug/bar"
is added through code complection, the import block will bewhich does not respect the local option.
The text was updated successfully, but these errors were encountered: