zed-extensions / java

Extension for Zed to support Java
13 stars 3 forks source link

lsp #4

Open shautvast opened 4 months ago

shautvast commented 4 months ago

it would be nice to have an actual LSP right? I just finished it in the old style, something I had started a while back, before noticing that they added an extension mechanism and probably won't accept java as a standard language plugin.

https://github.com/shautvast/zed/tree/java_support

the code downloads a jvm and eclipse jdt, and starts it. Works nicely on my machine. Dunno how to integrate this into an extension, but you're free to use my code :)

louisnicolas-longheval-vinci commented 4 months ago

Hi thanks for that! For the moment, Zed doesn't integrate LSP but is planning to. So we have to sit tight for the time being before seeing that. When it's launched don't worry i'll be the first to try it and deploy it as soon as possible

fdionisi commented 4 months ago

I believe a new branch could be open already and start mimicking what has been done for Gleam.

An when this DX PR land, it would be even easier. 😊

shautvast commented 4 months ago

aha, so there is a trait to implement for extensions. I had not seen that before

0x2CA commented 3 months ago

Now has extensions to implement lsp zed-industries/extensions/pull/356

JosephTLyons commented 2 months ago

aha, so there is a trait to implement for extensions. I had not seen that before

Yeah, the trait didn't exist until recently. :)

louisnicolas-longheval-vinci commented 2 months ago

now that there is support for LSP, it would be great to add it. but in fact for the moment im kinda busy to add it and not very familiar with the whole process of adding it. If someone is familiar with it, you're welcome to fork the repo and create a PR that i will merge if it fits well.