Skip to content

x/tools/gopls: gopls generates errors for code in files that have been deleted #37049

Closed
@renthraysk

Description

@renthraysk

What version of Go are you using (go version)?

$ go version

go version go1.13.7 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

Open a deleted file in VSCode's Source Control tab.
Depending on how much refactoring of the code as under gone, this can generate errors, but completely unhelpful as the code is defunct.

What did you expect to see?

No errors generated from deleted files.

What did you see instead?

Errors generated

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis 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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions