Eclipse plugin for working with protobuf

后端 未结 4 1913
囚心锁ツ
囚心锁ツ 2021-02-01 21:31

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.

4条回答
  •  轮回少年
    2021-02-01 22:18

    Using m2eclipse and directions from Issue 81/Comment 6 for a a protobuf maven plugin, it works pretty well.

    The only trick that doesn't work exactly is the "generated-sources/protobuf" will be created following the instructions is not automatically added to source folder in eclipse. Do this manually and you're g2g.

    Related Stackoverflow Issues:

    • how-do-i-get-support-for-gpb-in-eclipse
    • integrate-protocol-buffers-into-maven2-build

提交回复
热议问题