x/tools/gopls: add "Eliminate dot import" code action #70319
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
help wanted
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Sometimes we regret using dot imports but they are too tedious to remove. It would be easy (and
infallibleactually fallible) to offer a code action to automate this transformation. We could also offer the reverse ("Convert to dot import"), but perhaps we should not place temptation in front of weak mortals. (The reverse operation is fallible.)The text was updated successfully, but these errors were encountered: