Groups
Sign in
Groups
Protocol Buffers
Conversations
About
Send feedback
Help
Style guide question: Keep the line length to 80 characters.
18 views
Skip to first unread message
Vishwanath Jayaraman
unread,
Oct 7, 2019, 4:34:12 PM
10/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
Per
https://developers.google.com/protocol-buffers/docs/style#standard-file-formatting
, the suggestion is to "keep the line length to 80 characters". I am using
https://github.com/yoheimuta/protolint
to do style validation. How should I format a line that exceeds the 80 character length and still pass the lint check?
Appreciate any help in this regard.
Thanks
-Vish
Vishwanath Jayaraman
unread,
Oct 7, 2019, 7:12:46 PM
10/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
Got some tips at
https://gitter.im/grpc/grpc
and got the linter to pass. Below is an example:
```
rpc VeryLongMethodThatExceedsStyleGuideLength(
VeryLongMethodThatExceedsStyleGuideLengthRequest)
returns
(VeryLongMethodThatExceedsStyleGuideLengthReply)
;
```
Reply all
Reply to author
Forward
0 new messages