phptools-docs icon indicating copy to clipboard operation
phptools-docs copied to clipboard

Provide standalone language server

Open shyim opened this issue 10 months ago • 3 comments

I want to use the PHP language server with another editor like https://zed.dev/ . It would be nice if there were some kind of place where the language server can be downloaded standalone.

shyim avatar Apr 23 '24 11:04 shyim

Thank you for the question.

We are discussing this option (technically) in our team. It is something we would like to provide.

Currently, the language server relies heavily on VSCode API and the .js extension adapter we have made. We're continuously cleaning things up and preparing them so the LS can run, eventually, separately in another IDE.

jakubmisek avatar Apr 23 '24 15:04 jakubmisek

@jakubmisek it seems like zed also uses the same LSP as VSCODE.

dhenfie avatar Aug 01 '24 12:08 dhenfie

@jakubmisek it seems like zed also uses the same LSP as VSCODE.

Yes, the LSP itself (https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/) is the same. But we have additional functionality that is implemented outside LSP, since it was not enough.

jakubmisek avatar Aug 04 '24 15:08 jakubmisek