You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that csharp-ls will not show me errors in my repository until I open the files with issues manually.
E.g., if I change the name of some class (without using LSP rename feature), and that class is being instantiated in other files, I will not get any errors until I start opening each one of these other files.
Is it an expected behavior? In solutions with tens of projects, it's quite inconvenient.
Can confirm I can see this on VS Code, at the very least.
The issue is that csharp-ls does not implement the "workspace/diagnostic" LSP request and thus client is left to its own devices to accumulate diagnostics from the server as it sends them only for files that have been open recently.
I noticed that csharp-ls will not show me errors in my repository until I open the files with issues manually.
E.g., if I change the name of some class (without using LSP rename feature), and that class is being instantiated in other files, I will not get any errors until I start opening each one of these other files.
Is it an expected behavior? In solutions with tens of projects, it's quite inconvenient.
I'm using csharp-ls with Neovim and the https://github.com/Decodetalkers/csharpls-extended-lsp.nvim.
The text was updated successfully, but these errors were encountered: