Author Topic: Support for Google protocol buffers?  (Read 79 times)

flethuseo

  • Senior Community Member
  • Posts: 173
  • Hero Points: 2
Support for Google protocol buffers?
« on: October 06, 2017, 02:14:58 pm »
Are there any plugins or tools that you could recommend to view and edit gRPC protocol buffers. These are compiled to *go files with protoc

Thanks,
tEd

mjdl

  • Senior Community Member
  • Posts: 125
  • Hero Points: 9
  • SE 22.0.0.8 x64 Windows 7 SP1 x64 16GB w/SSD
Re: Support for Google protocol buffers?
« Reply #1 on: October 06, 2017, 04:59:17 pm »
Looking in the Help file, the procedure for adding a new language is explained in Chap. 9 "Language-Specific Editing" at "Adding and Removing Languages".

Basically, it assumes that the new language can be defined by choosing an existing language that is the closest in terms of syntax (thus can be assimilated by an existing parser/tagger), then modifying all the details such keywords, formatting/coloring settings, etc., until some kind of useful result may be achieved.

A very quick glance at examples of the Google "protobuf" definition language shows similarities to JSON syntax, so maybe that's a starting point...