Skip to content

How to create and use another connection provider instead of the WebSocket one? #582

@Tnze

Description

@Tnze

Hi!
I'm trying to add LSP supports for a IDE project I'm developing based on the Tauri framework.
In Tauri, there is a better way to do the IPC instead of using json-rpc based on WebSocket connection.

So does monaco-languageclient supports this case? How should I do?
Should I implement the IConnectionProvider and pass it to constructor of MonacoLanguageClient, or directly use BaseLanguageClient? I'm confusing and unable to find out.

And what is the different between monaco-languageclient and vscode-languageclient?
Should I install vscode-languageclient as a dependency of my project? Is that normal a language client for monaco-editor is depending on vscode things?

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions