Open patilarpith opened 4 years ago
We are encountering the same issue in:
The think I is, if I move the cursor in my tests a little bit (up), I can sometimes manage to get the proper list of completions so it seems that the server and the editor contents get out of sync for some reason.
There are other (seemingly) related issues already registered, where the editor is out of sync with the server:
same here!
I believe this has been fixed by:
(not released yet, though)
Running omnisharp-roslyn running in -lsp mode and the project is initialised with csproj file targetting netcoreapp3 framework.
I see no errors in initialisation and the project is loaded successfully.
On
textDocument/completion
request, I only see responses of global keywords. No completion for inbuilt classes or Namespaces.For eg: Triggering
textDocument/completion
forConsole.
results in zero suggestions.I don't see any diagnostics information pushed from the server either.
Versions: dotnet sdk: 3.1.100 omnisharp roslyn: 1.34.9 (latest) Language client: monaco-languageclient monaco-editor: Mono: Shipped with omnisharp-roslyn
Here is a minimum setup of the project: https://github.com/patilarpith/monaco-languageclient-omnisharp-lsp