Skip to content

stale sourcekit-lsp problems in problem list #519

@stevenbrix

Description

@stevenbrix

Describe the bug

When working with code (especially porting Mac code to Windows) i find that the language server can get in a state where sourcekit problems are still reported n the Problem List well after I've already fixed them.

To Reproduce

I don't have a smoking gun repro steps, it generally happens after i've been working in a project for a while and all of a sudden i notice that errors aren't going away.

Expected behavior
I would expect errors that I have fixed to go away, especially on a rebuild

Environment

  • OS: Windows 11
  • Swift version (output of swift --version): 5.9-dev
  • Visual Studio Code version: 1.77.1
  • vscode-swift version: 1.2.0

Additional context
I took a dump of the process when it was in this state if that would be useful?

Restarting the language server works, but it would be useful to have a "clear problems" button like there exists in macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsourcekit-lspSourceKit-LSP issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions