zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.46k stars 3.12k forks source link

Document custom language server configuration #20981

Closed Poldraunic closed 22 hours ago

Poldraunic commented 1 day ago

See https://github.com/zed-industries/zed/issues/20534#issuecomment-2490856752, https://github.com/zed-industries/zed/discussions/6629#discussioncomment-10493418.

Release Notes:

zed-industries-bot commented 1 day ago
Messages
:book: This PR includes links to the following GitHub Issues: #20534 If this PR aims to close an issue, please include a `Closes #ISSUE` line at the top of the PR body.

Generated by :no_entry_sign: dangerJS against 87f2b7e5edc5d3c819ba08929ab3b016fe67bc1e

maxdeviant commented 22 hours ago

Thank you for the PR!

We already have this documented here under the C++ section: https://github.com/zed-industries/zed/blob/75c545aa1e7a9cb01febf2f6dc00536c7271ff2f/docs/src/languages/cpp.md?plain=1#L10-L25

We can document clangd for other languages that also use it, but I don't think mentioning it in the top-level configuration is what we want.

Poldraunic commented 10 hours ago

Thanks for the reply.

I honestly didn't even open documentation for C++ because... I didn't think there would be anything of use. My intent with this PR was not about clangd specifically, but on use of language server as primitive (if you can call it that) as possible.

I still think there should be something about this in the documentation given that these problem still popup for users be it a year ago or as recently as a couple of weeks ago. Both of these cases are linked in the OP.