/ go Public
x/tools/gopls: translate go.work conflicting replacement errors to quickfixes or a command to run. #51712
Issues related to support for modules or multi-module workspaces.
Issues related to the Go language server, gopls.
This label describes issues relating to any tools in the x/tools repository.
What did you do?
Checkout kubernetes repo, and create a go.work file including all modules in the repo except those in vendor.
A better, simpler repro case can be constructed by creating a workspace with conflicting modules (I will take a look if I can create a simpler repro with gopls test setup later if gopls experts cannot help with it).
What did you expect to see?
Notifications popup with "Fix This" button :-) or
Diagnostics with quickfix associated.
What did you see instead?
Verbose error messages.
Go command is giving a specific command to run already. I wonder if we can parse the message, replace [override] part, and suggest it as a quickfix.
cc @findleyr @matloob
The text was updated successfully, but these errors were encountered: