-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lsp keep reload the project #165
Comments
it seems that lsp dosnet support file operations, for this i use "didChangeWatchedFiles" |
Hey @Wordluc which OS is this? |
Windows 10 |
for now i found this solutions:
|
Hi @Wordluc , From the workaround you shared, I think the client you are using sends unchanged files in And from lsp spec, it's better to watch file changes in client side and client should send the changed files to server. |
@tcx4c70 without the workaround are present diffent .csproj, the thing is that i don't change them, so like you said it's a problem of the client so nvim lsp? |
the problem is that i use visual studio to build and debug the solution since visual studio open .sln to load the solution |
with this opt
local cap = vim.tbl_deep_extend("force", vim.lsp.protocol.make_client_capabilities(), require('cmp_nvim_lsp').default_capabilities() ) cap.workspace.didChangeWatchedFiles.dynamicRegistration = true
Lsp reload all the project(saying that is changed .sln) even thought i had not changed anything.
ps:i use didChangeWatchedFiles to notify the server when i delete a file
The text was updated successfully, but these errors were encountered: