grpc / grpc

The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io
Apache License 2.0
41.48k stars 10.47k forks source link

Generated C # code need more 'humanlizer' #36974

Open a44281071 opened 2 months ago

a44281071 commented 2 months ago

There are two problem points, unfriendly to developers in Visual-Studio(2022) :

The 2rd point is unbearable, We can't achieve the same visual effect. In .proto file, the struct members is clearly without interference. But the generated (C#) code, which does not need to pay attention to, occupies the vision. In general, we only focus on the list of members of a structure and the input and output parameters of a function. Just rank the most important properties first.

tonydnewell commented 2 months ago

I suggest you ask this in the https://github.com/grpc/grpc-dotnet/issues repository as that is the future for gRPC C#.

This may be related to: https://github.com/grpc/grpc-dotnet/issues/1996

Does the "Class View" in Visual Studio give you enough of what you need?