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
47.39k stars 2.75k forks source link

Docs bug "Adding New Languages" page doesn't say how to add a new language #9732

Open frob opened 6 months ago

frob commented 6 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I was reading the docs page on Adding New Languages and, while it has some good info about LSP, it doesn't actually say anything about adding a new language. It eludes to this being possible. If this is done through extensions then that info should be added to the docs page.

Apologies if this isn't the place for Docs bugs but I couldn't find a repo for the docs.

Environment

NA

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

frob commented 6 months ago

This is the page I am referring to.

https://zed.dev/docs/adding-new-languages

JosephTLyons commented 6 months ago

Sorry about that - yeah, extensions are the way forward for adding new languages to Zed. Extensions landed not too long ago and the docs haven't been updated in some time - I'll try to update them today.

ChzenChzen commented 4 months ago

I am interested in developing an extension to support the Move language in Zed, but I am currently struggling with understanding how to properly integrate it. I've looked through the existing documentation but could not find a clear guide or reference for adding support for a new language such as Move.

Could you please provide some guidance, or consider expanding the existing documentation to include a step-by-step guide on how to add new language support? Specifically, I am looking for information on integrating things like syntax highlighting via tree-sitter and connecting to a language server.

Any help or pointers would be greatly appreciated as it would significantly aid in my efforts to contribute to the community.

frob commented 3 months ago

Another question has come up regarding LSP configuration. How does someone change the LSP used for a language

LI-YONG-QI commented 3 months ago

I am interested in developing an extension to support the Move language in Zed, but I am currently struggling with understanding how to properly integrate it. I've looked through the existing documentation but could not find a clear guide or reference for adding support for a new language such as Move.

Could you please provide some guidance, or consider expanding the existing documentation to include a step-by-step guide on how to add new language support? Specifically, I am looking for information on integrating things like syntax highlighting via tree-sitter and connecting to a language server.

Any help or pointers would be greatly appreciated as it would significantly aid in my efforts to contribute to the community.

Hello, I'm trying to add Move language on Zed too, but met same as your problem. Did you have any new information about this?

ChzenChzen commented 3 months ago

@LI-YONG-QI nope =(

artemavrin commented 2 months ago

Sorry about that - yeah, extensions are the way forward for adding new languages to Zed. Extensions landed not too long ago and the docs haven't been updated in some time - I'll try to update them today.

any news?