Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse plugin for working with protobuf

Protocol Buffers (protobuf) are a way of encoding structured data in an efficient yet extensible format.

There's plugin for Netbeans, but I cannot find one for Eclipse. Does it exist? If yes, please, share the link.

Thanks.

like image 221
Artyom Sokolov Avatar asked Jun 09 '09 07:06

Artyom Sokolov


People also ask

Does javascript support Protobuf?

The official protobuf project support only Java, C++, and Python. Not Javascript. According to the Wiki of the project, there are three projects porting protocol buffers to Javascript.

Should I use Protobuf or JSON?

Protobuf supports more data types than JSON. JSON is limited to certain python objects, and it cannot serialize every python object. Protobuf supports a wider range of data types when compared to JSON. For example, enumerations and methods are supported by Protobuf and not supported by JSON.


2 Answers

I recommend using Google's "Protocol Buffers Development Tools". It is a plugin for Eclipse that features automagic regeneration and error checking with quick fixes, among other things. It's available here: https://github.com/google/protobuf-dt/blob/master/README.md .

like image 60
unBrice Avatar answered Sep 28 '22 20:09

unBrice


It does not seem to be approved by Eclipse yet.
And the EMF project uses protobuf, but not as a plugin.

So for now, no there do not seem to be any Eclipse protobuf plugin.

like image 34
VonC Avatar answered Sep 28 '22 20:09

VonC