Skip to content
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

Unable to see all completions or diagnostics in LSP mode #1666

Open
patilarpith opened this issue Dec 12, 2019 · 3 comments
Open

Unable to see all completions or diagnostics in LSP mode #1666

patilarpith opened this issue Dec 12, 2019 · 3 comments
Labels

Comments

@patilarpith
Copy link

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.

  1. On textDocument/completion request, I only see responses of global keywords. No completion for inbuilt classes or Namespaces.

For eg: Triggering textDocument/completion for Console. results in zero suggestions.

  1. 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

@razzmatazz
Copy link
Contributor

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:

@easbarba
Copy link

same here!

@razzmatazz
Copy link
Contributor

I believe this has been fixed by:

(not released yet, though)

@filipw filipw added the lsp label Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants