Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
frob opened this issue Mar 23, 2024 · 7 comments
Open
1 task done
Labels
documentation [core label] enhancement [core label]

Comments

@frob
Copy link

frob commented Mar 23, 2024

Check for existing issues

  • Completed

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 frob added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Mar 23, 2024
@frob
Copy link
Author

frob commented Mar 23, 2024

This is the page I am referring to.

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

@Moshyfawn Moshyfawn added enhancement [core label] documentation [core label] and removed defect [core label] triage Maintainer needs to classify the issue labels Mar 23, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 26, 2024
@JosephTLyons
Copy link
Contributor

JosephTLyons commented Mar 26, 2024

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.

@JosephTLyons JosephTLyons added the zed.dev Feedback for the marketing website, blog, etc label Mar 26, 2024
@ChzenChzen
Copy link

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
Copy link
Author

frob commented May 31, 2024

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

@LI-YONG-QI
Copy link

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
Copy link

@LI-YONG-QI nope =(

@artemavrin
Copy link

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?

@maxdeviant maxdeviant removed the zed.dev Feedback for the marketing website, blog, etc label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation [core label] enhancement [core label]
Projects
None yet
Development

No branches or pull requests

7 participants