pombreda / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Please specify CodeStyle rules #335

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've prepared patches for libjingle, but i'm not quite shure about indent 
style/code style. Please add a file called CodeStyle (or similar name) with 
explicit indention notation and codestyle examples. Also indention rules for 
for emacs and vim would be nice.

Original issue reported on code.google.com by dmonak...@gmail.com on 7 Apr 2012 at 6:04

GoogleCodeExporter commented 9 years ago
Ronghua, can you look into this? Do we have a file for webrtc that could be 
copied over here?

Original comment by juberti@google.com on 24 Apr 2012 at 3:36

GoogleCodeExporter commented 9 years ago
We are generally follows the Google C++ Style Guide. There're some examples in 
this page: http://dev.chromium.org/developers/coding-style.

For indention, basically use only spaces, and indent 2 spaces at a time. We 
only have a style configuration file for eclipse as I attached.

Original comment by ronghuawu@google.com on 24 Apr 2012 at 4:56

Attachments: