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

Can not send request to lsp #29

Open
Gankarloo opened this issue Aug 18, 2020 · 1 comment
Open

Can not send request to lsp #29

Gankarloo opened this issue Aug 18, 2020 · 1 comment

Comments

@Gankarloo
Copy link

I want to query the lsp for some of it's custom information, but I can't figure out the name to use in CocRequest.

CocList sources gives me this:
image

CocList services is empty

In taskmanager I see the omnisharp.exe is launched.

CocInfo:

## versions

vim version: VIM - Vi IMproved 8.2 8021139
node version: v14.5.0
coc.nvim version: 0.0.78-bdd9a9e140
coc.nvim directory: C:\Users\ankarloog\vimfiles\pack\minpac\start\coc.nvim
term: undefined
platform: win32

## Output channel: snippets

[Info 11:09:11] Using ultisnips directories: UltiSnips C:\Users\ankarloog\vimfiles\coc-data\ultisnips
[Info 11:09:11] Using ultisnips python command: pyx

## Output channel: coc-omnisharp

coc-omnisharp activated.
workspace root=C:\tmp\CSharpTest\gradebook\src\GradeBook

## Output channel: cs

[Trace - 11:09:18] Sending request 'initialize - (0)'.

I have tried these incatations of CocRequest

  • :call CocRequest('cs', 'o#/WorkspaceInformation')
  • :call CocRequest('cs-1', 'o#/WorkspaceInformation')
  • :call CocRequest('cs-2', 'o#/WorkspaceInformation')
  • :call CocRequest('omnisharp', 'o#/WorkspaceInformation')
  • :call CocRequest('coc-omnisharp', 'o#/WorkspaceInformation')

and they all gove the same error
image

Am I missing something?

@yatli
Copy link
Member

yatli commented Nov 20, 2020

Should work with the channel coc-omnisharp -- could you try again? The initialization process is improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants