monaco-languageclient icon indicating copy to clipboard operation
monaco-languageclient copied to clipboard

how to connect to vls?

Open FoxDaxian opened this issue 2 years ago • 4 comments

here is the question repo. please check it. thank you very much~

FoxDaxian avatar Apr 18 '22 12:04 FoxDaxian

Hello,

What is your question?

CGNonofr avatar Apr 19 '22 08:04 CGNonofr

@CGNonofr Hi~ thank your for your reply.

the question is TextDocument/didopen. TextDocuemt/hover etc not work when server run success in abover repo.

and I don't know how to fix this..

FoxDaxian avatar Apr 19 '22 08:04 FoxDaxian

There is a working example here.

If you want some help, please ask more specific questions

CGNonofr avatar Apr 19 '22 08:04 CGNonofr

sorry. I will rephrase my problem。

I create an client and use vscode-ws-jsonrpc to connect server. and use vscode-ws-jsonrpc to forward an vls subProcess in the server. in order to communicate with client.

now both them can be run and rpc message is success passed:

image

but the monaco-editor is not do what I expect. I don't know how to handle this situation.

so please take a look this repo, it will show my question.

thanks again 😊

FoxDaxian avatar Apr 19 '22 09:04 FoxDaxian

@FoxDaxian I am closing the issue. If there are further questions please open a discussion: https://github.com/TypeFox/monaco-languageclient/discussions

Thank you

kaisalmen avatar Oct 19 '22 06:10 kaisalmen