Brilliant.

I'm glad to see a protobuf descriptor editor come out of Google.  I wrote my 
own using the XText 1.0 SDK but it was quick and dirty, I like this one much 
better.

There are a few corner cases missing from the syntax however.  I know I had 
a lot of trouble dealing with them using XText because the protobuf grammar 
has some oddities in it, especially when it comes to enumerations and custom 
options.

The first couple things I noticed when I pulled up the protos I use are:

1) Imports are required to exist in the same directory as the importing 
proto.  Is this intentional?  When I used importURI in XText it allowed the 
files to simply be present in the same project, which allowed for more 
cleanly managing what proto files are part of the project and which are 
simply imports. (change in XText 2.0?)

2) Enum Value options are not supported by the current grammar.

i.e.


...where the country code type is defined earlier in the same file and 
"evo.name" is defined by an import.


3) Custom options that are enumerations are not supported by the current 
grammar:


I need to pull down the project and see if these would be easy to add to the 
grammar, but I would be glad to contribute to the project as I've been 
meaning to release my own for some time now and this is a much better 
starting point.  Once I get a better look at the issues and possibly some 
solutions I'll post them to the project's issue tracker.

Thanks for all the hard work - I'm very appreciative and I'm certain the 
rest of the protobuf community will be as well.

-Ben Wright

On Tuesday, August 2, 2011 10:26:52 PM UTC-4, Alex Ruiz wrote:
>
> Greetings,
>
> I'm proud to announce that today we released a new Eclipse-based editor 
> for protocol buffer descriptors: https://code.google.com/p/protobuf-dt/. 
>
> Please find the release announcement at the Google Open Source Blog: 
> http://google-opensource.blogspot.com/2011/08/introducing-protobuf-dt-eclipse-editor.html
>
> We hope you find this editor useful. Please give it a try and let us know 
> what you think.
>
> Regards,
> -Alex
>

On Tuesday, August 2, 2011 10:26:52 PM UTC-4, Alex Ruiz wrote:
>
> Greetings,
>
> I'm proud to announce that today we released a new Eclipse-based editor 
> for protocol buffer descriptors: https://code.google.com/p/protobuf-dt/. 
>
> Please find the release announcement at the Google Open Source Blog: 
> http://google-opensource.blogspot.com/2011/08/introducing-protobuf-dt-eclipse-editor.html
>
> We hope you find this editor useful. Please give it a try and let us know 
> what you think.
>
> Regards,
> -Alex
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/z_jZIgMzUnoJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to