You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client did advertise that it support additionalTextEdits which according to the LSP Specification must be specified.
Problem: When I tried to complete item with nvim-cmp, I check the log and indeed there is a textDocument/completion request and there is also a response. As such the editor still can complete the code but it does not auto import missing namespace if the class is not yet imported. Looking at the server response, I saw only textEdit in the response but no additionalTextEdits. For example, here is one of the CompletionItem returned:
Every other features I tried so far works fine, including the Organize Import feature so it is probably not because of the client configuration. Thank you for taking your time to address this issue.
The text was updated successfully, but these errors were encountered:
For some context, I am using OmniSharp Roslyn in conjunction with Neovim and LspConfig.
Here are my omnisharp.json:
Here is my client
completion
capabilities:The client did advertise that it support
additionalTextEdits
which according to the LSP Specification must be specified.Problem: When I tried to complete item with
nvim-cmp
, I check the log and indeed there is atextDocument/completion
request and there is also a response. As such the editor still can complete the code but it does not auto import missing namespace if the class is not yet imported. Looking at the server response, I saw onlytextEdit
in the response but noadditionalTextEdits
. For example, here is one of theCompletionItem
returned:Every other features I tried so far works fine, including the Organize Import feature so it is probably not because of the client configuration. Thank you for taking your time to address this issue.
The text was updated successfully, but these errors were encountered: