Open JosephTLyons opened 1 year ago
Noting that the tree sitter linked here is mentioned in the official tree sitter docs. So it may become the official one.
Noting also that the author of https://github.com/mitchellh/tree-sitter-proto is the founder of Hashicorp and pretty solid engineer.
Initial syntax highlights and outlines were added with https://github.com/zed-industries/zed/pull/6748
The language server is not added yet.
Syntax highlighting is available in Zed v0.121.0.
Check for existing issues
Language
Protobuf
Tree Sitter parser link
https://github.com/mitchellh/tree-sitter-proto
Language server link
https://github.com/bufbuild/buf-language-server
Misc notes
A user requested that we support protobuf files.
It seems like no official grammars exists for Tree Sitter. The one I linked seems like the only real choice. We might need to write our own grammar.
The linked language server (suggested by the same user) is still being developed, but it seems like the team building it is pretty professional, so I assume this will eventually be the standard. The other language server offerings seem to be abandoned and not finished.