Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4e-dev] possible to send custom messages?

Hey!

That works, thanks a lot for the hint and the example, that is great.

In addition:
LSP4J allows you to define and use custom messages via extended interfaces of the language client, e.g.:
https://github.com/spring-projects/sts4/blob/master/headless-services/commons/commons-language-server/src/main/java/org/springframework/ide/vscode/commons/languageserver/STS4LanguageClient.java

So I think LSP4E should be able to provide a way to allow this, too, somehow.
I filed a new bug for that:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=518298

Cheers,
-Martin





> Am 08.06.2017 um 15:26 schrieb Mickael Istria <mistria@xxxxxxxxxx>:
> 
> Hi,
> 
> We had a similar need to integrate the VSCode CSS language-server (which requires an additional message to accept to do its job). Here is how we proceed: https://github.com/mickaelistria/eclipse-bluesky/blob/master/org.eclipse.bluesky/src/org/eclipse/bluesky/CSSLanguageServer.java#L63
> It's a bit hacky, but it works.
> If with your use-case you figure out a better way to do things, please open a ticket to discuss it!
> 
> Cheers
> _______________________________________________
> lsp4e-dev mailing list
> lsp4e-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/lsp4e-dev



Back to the top