extensions
extensions copied to clipboard
Scala
It would be nice to support Scala language syntax. Metals is a Scala language server that is currently well-maintained.
The Scala tree-sitter repo recently got some love as well: https://github.com/tree-sitter/tree-sitter-scala
I actually just came here to also request this and was happy to see this was here. I'm not super familiar with the process of getting language support added, but I'm a maintainer both of Metals and of tree-sitter-scala. Is there anything that we can do on our end to make this integration easier on the Zed side?
@ckipp01, at the moment, nothing can be done on the community's end, however we did start the initial work to become languate extensible. Phase 1 is for us to allow for language server extensibility, so users can start making packages to bring in different language servers into Zed for languages we already support. Phase 2 will be to all about adding support for custom grammer plugins. We are working on phase 1 now! If you want to keep up with it all, Julia has been writing about her progress in this work in the This Week in Zed weekly blog posts:
- https://zed.dev/blog
@JosephTLyons any updates ?
I actually just came here to also request this and was happy to see this was here. I'm not super familiar with the process of getting language support added, but I'm a maintainer both of Metals and of tree-sitter-scala. Is there anything that we can do on our end to make this integration easier on the Zed side?
Hey, zed is now open source, so you can add support for Scala. Would be great to see it
@WeetHet Would be lovely to see support of Scala with Metals, it's the only thing preventing me to use Zed! Please!
Just FYI, after this PR is done, Metals will be possible: https://github.com/zed-industries/zed/pull/7662
given the pr is merged, is there a time update?
given the pr is merged, is there a time update?
Right now the work is being done to allow this to be an extension (see crates/extension_api in the main repo)
The Scala extension has been published and can be downloaded from within Zed:
https://github.com/zed-industries/zed/pull/7933#issuecomment-2025730788
You can find the code under the scalameta/metals-zed repo.
Closing this out, as we now have a Scala extension.