It generally works well enough. The most annoying part is that "Go to Declaration or Usages" goes to the .proto file instead of the go implementation with no way of changing the behavior.
In our business scenarios(C++), google protobuf is used in many places, and business protobufs are becoming larger and larger, resulting in the generated code (pb files) also being very large (individual pb files are over 10MB, with 260,000 lines of code).
This causes IDEs to consume a lot of resources when parsing the code generated by protobuf, and for larger projects, it takes about 2 minutes, with memory usage being very high (over 10GB for the entire project). When writing code, code prompts and jumps also appear to be sluggish.
Some Idea
Since this code is automatically generated, is it possible to achieve code prompts and naviagte without generating this code?
Currently, without .pb.cc, .pb.h and other files, there are no code prompts or jumps.
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.
kevin.ryan
01.03.2024It generally works well enough. The most annoying part is that "Go to Declaration or Usages" goes to the .proto file instead of the go implementation with no way of changing the behavior.