elixir-lsp / vscode-elixir-ls

Elixir language support and debugger for VS Code, powered by ElixirLS.
https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls
MIT License
539 stars 106 forks source link

Diagnostics do not disappear after server restart #389

Closed lukaszsamson closed 11 months ago

lukaszsamson commented 11 months ago

If the server is restarted when it shows diagnostics, they persist in the UI. The server looses track of published diagnostics and is not able to lear them.

LSP https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#diagnostic_refresh request does not resolve the issue - it clears only pull diagnostics