-
Notifications
You must be signed in to change notification settings - Fork 11
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
"Workspace symbols provider not found for current document" #14
Comments
+1 |
I thought it was already implemented by the omnisharp lsp adapter. |
Ran into this issue today, spent a couple hours trying to fix the same issue in VS Code, and finally got to this point: Playing around with Omnisharp in VS Code revealed that I was using an old version of Mono. I found the mono project's own rpm repo and reinstalled from there to get 6.8. This made the "symbols provider" error go away in VS Code. When I open the same project in neovim, if I'm quick to open In
But perhaps more importantly, the missing file is indeed missing. It's present in VS Code's Omnisharp instance. I tried uninstalling coc-omnisharp, More complete Output log -- When I restart Coc:
And when I open the outline and try snippets (actual stack traces in here):
edits: formatting |
do the errors continue if you copy all the missing dlls from the vscode extension? |
Hrm, well, this is mildly embarrassing... On closer inspection with the likes of
which is eerily similar to the error that VS Code was giving me when I tried using Mono 5.4. But now I'm a little confused: the bundled Mono with coc-omnisharp is 6.8, and the system Mono is 6.8 (installed with the mono-complete package from Mono's own repos). Found the .NET Core 5.0 preview build on .NET's site that the error message links to, got that installed (was using 3.1 previously), and still ran into the same error. (Then uninstalled it when someone elsewhere mentioned having just mono fixed it for them--no luck.) I found OmniSharp/omnisharp-roslyn#1692 (comment) and tried doing the same, which did, in fact, make the error about "reference assemblies" not being found go away. That still leaves these three:
I just noticed that #13 already exists for this issue, so if I find anything else I'll add it there. |
A related issue is that workspaceSymbolsProvider was not actually implemented by omnisharp-roslyn at all. This PR adds support for it: |
Should be fixed in OmniSharp/omnisharp-roslyn#2005 |
I tried using
:CocList symbols
to jump to a symbol in the project but I keep getting this error for csharp projects. With rust it works. So I assume this is a coc-omnisharp issue.Is this feature implemented? If so, how do we access it?
Thanks!
The text was updated successfully, but these errors were encountered: