Skip to content

x/tools/gopls: use overlays when computing mod tidy diagnostics #53881

Open
@findleyr

Description

@findleyr

We currently invalidate mod tidy results whenever metadata changes, but compute diagnostics based on saved files. This can be very confusing as go.mod diagnostics do not match the current workspace state.

With native overlay support, we should be able to make mod tidy diagnostics honor unsaved changes, and should explore updating mod tidy diagnostics whenever metadata changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions