-
Notifications
You must be signed in to change notification settings - Fork 41
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
Very slow on large amount of projects / Large codebases #171
Comments
i've been experiencing the same for a while now, i have not found anything to solve this. |
I have just implemented pull diagnostics which should help here: Would you have chance to test it if it helps in your case? |
i am using Manson to manage lsp so i can't do a manual pull, it works base on version |
You can pass custom config to Mason. Something like this: local config = {
cmd = { "/path/to/local/csharp-ls" },
}
mason_lspconfig.setup_handlers({
function(server_name)
if server_name == "csharp_ls" then
lspconfig["csharp_ls"].setup(config)
end
end,
}) |
Tested it with latest master ( #174 implemented ) on large repo but seems situation does not changed ( at least for me ) |
same thing of @dakamakat |
What interaction you mean by he word "responding"? Is it diagnostics that show up late, or completion item do not appear fast enough? |
It takes about 5 minutes to initialize(for large project), and during this time, the LSP doesn't respond, neovim acts like a normal editor without lsp. |
would be possible to start loading the initial project (where you are currently working) and then extend the loading process to the inner project, enabling the LSP to begin working with it, even if temporarily not with full functionality?. |
Is there a solution that is being loaded or just multiple projects, sequentially? |
it's a solution with different projects |
Downgrading down to 0.11.0 drastically improves the initial loading time for me. |
Dont really know why but LSP is getting very slow ( unable to get any diagnostic in file or react on code changes in even 1 min ) on repos with large amount of projects ( smth like 80+ ) i use space station 14 repo to check this
NVIM 0.10.0 Release
csharp_ls installed version 0.14.0
or maybe it's related to my completition plugin but it's now wery likely bc everything same when i disable it ( i use nvim-cmp )
is there anyone who experianced same issue or know workaround for this ( i was expiriencing smth similar with omnisharp as well )
The text was updated successfully, but these errors were encountered: