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

flethuseo

  • Senior Community Member
  • Posts: 177
  • 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: 151
  • Hero Points: 18
  • SE Pro 2023 v28.0.2.0 64-bit Qt5 Win 11 23H2
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...