Skip to content

x/tools/gopls: add regression tests for file watching #40818

Open
@stamblerre

Description

@stamblerre

Some cases that lack coverage:

  • Moving a declaration to a new file
  • Adding a new declaration to the same file
  • Adding a new declaration a different file
  • Check that closing a buffer clears errors
    • Real-life example: You switch branches with 1 open file in your editor and see errors because that file is now an overlay. You close the file and its errors clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestingAn issue that has been verified to require only test changes, not just a test failure.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