[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [lsp4e-dev] Is there a simple example for implement basic editor features?
|
Hi Christoph,
a working example can be found in the dart board project:
https://github.com/eclipse/dartboard
It uses the Dart Language server to provide Dart support in the
Eclipse IDE, unfortunately we currently don't work on it due to
resource constraints but it should still be a good example.
We also have a tutorial on our website for implementing LSP support,
see https://www.vogella.com/tutorials/EclipseLanguageServer/article.html
Best regards, Lars
On Wed, Jan 13, 2021 at 5:41 PM Mickael Istria <mistria@xxxxxxxxxx> wrote:
>
> Hi Christoph,
>
> Please see the code in org.eclipse.lsp4e.tests.mock where there is a (mock) implementation of LSP4J interfaces.
> There is indeed no clear walkthrough about how to implement a Language Server with LSP4J. I looked at the Eclipse Foundation youtube channel, and while there are some videos about general concepts (which might still be interesting to you), there seems to be nothing about LSP4J usage. I remember I used to showcase it 3-4 years ago in a few French JUGs, so you may be able to find those videos, but it's going to be all in French, so probably not so useful to you.
> I suggest you start by implementing the LSP4J interfaces with dummy but visible response and binding them in the IDE with LSP4E as explained in https://git.eclipse.org/c/lsp4e/lsp4e.git/tree/documentation/integrating-a-language-server.md. Once you're setup with 1 single operation running and see the flow of messages in actions, you'll quickly figure out how to continue for other operations.
> HTH
>
> _______________________________________________
> lsp4e-dev mailing list
> lsp4e-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/lsp4e-dev
--
Eclipse Platform project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com