| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
Try to guess the root_dir by getting the lsp client from the previous buffer.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This handler was removed a long time ago and was replaced with another handler that is already implemented here:
https://github.com/dotnet/vscode-csharp/commit/9cc41f6d2535a5cb5533dc5ae8f3a10ade16e7b5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
- Diagnostics were only refreshed for the current buffer, not all buffers
managed by the client. In multi-file C# projects, this left diagnostics
stale unless the user switched buffers.
- Roslyn did not handle override method completion correctly.
Solution:
- Added `roslyn.client.completionComplexEdit` handler to apply edits for
override completions.
- Added `refresh_diagnostics` function, called on project initialization
and on `BufWritePost` / `InsertLeave` events, to proactively pull
diagnostics for all client buffers.
Rationale:
- Roslyn LSP primarily uses pull-based diagnostics. Neovim currently
only triggers diagnostic pulls on text changes in the active buffer.
This makes `debounce_text_changes` insufficient for Roslyn, as changes
in one file can affect diagnostics across the entire solution.
- The autocmds act as a server-specific workaround to mimic an
“on-save/on-idle” pull model.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
vim.lsp.util._refresh() was removed by
https://github.com/neovim/neovim/pull/33903
|
| |
|
|
|
|
|
|
| |
* fix(roslyn_ls): use absolute paths when open `.sln` and `.csproj` files
---------
Co-authored-by: glepnir <glephunter@gmail.com>
|
| |
|