zed-industries / extensions

Extensions for the Zed editor
770 stars 321 forks source link

Protobuf #146

Open JosephTLyons opened 1 year ago

JosephTLyons commented 1 year ago

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.

TerminalFi commented 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.

https://tree-sitter.github.io/tree-sitter/

aybabtme commented 1 year ago

Noting also that the author of https://github.com/mitchellh/tree-sitter-proto is the founder of Hashicorp and pretty solid engineer.

SomeoneToIgnore commented 7 months ago

Initial syntax highlights and outlines were added with https://github.com/zed-industries/zed/pull/6748

The language server is not added yet.

JosephTLyons commented 7 months ago

Syntax highlighting is available in Zed v0.121.0.