|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| cpplint/ | | 23-Nov-2023 | - | 12,111 | 9,065 |
| docguide/ | | 23-Nov-2023 | - | 692 | 488 |
| include/ | | 23-Nov-2023 | - | 609 | 443 |
| LICENSE | D | 23-Nov-2023 | 19 KiB | 320 | 293 |
| METADATA | D | 23-Nov-2023 | 410 | 18 | 16 |
| MODULE_LICENSE_BSD | D | 23-Nov-2023 | 0 | | |
| MODULE_LICENSE_CC | D | 23-Nov-2023 | 0 | | |
| OWNERS | D | 23-Nov-2023 | 91 | 4 | 3 |
| README.md | D | 23-Nov-2023 | 2.9 KiB | 55 | 46 |
| Rguide.md | D | 23-Nov-2023 | 2.9 KiB | 110 | 79 |
| Rguide.xml | D | 23-Nov-2023 | 482 | 16 | 15 |
| angularjs-google-style.html | D | 23-Nov-2023 | 13.7 KiB | 394 | 315 |
| cppguide.html | D | 23-Nov-2023 | 221.3 KiB | 5,932 | 4,751 |
| cppguide.xml | D | 23-Nov-2023 | 727 | 19 | 12 |
| eclipse-cpp-google-style.xml | D | 23-Nov-2023 | 17.2 KiB | 168 | 167 |
| eclipse-java-google-style.xml | D | 23-Nov-2023 | 35.2 KiB | 338 | 337 |
| google-c-style.el | D | 23-Nov-2023 | 6.1 KiB | 152 | 100 |
| google-r-style.html | D | 23-Nov-2023 | 673 | 18 | 11 |
| google_python_style.vim | D | 23-Nov-2023 | 1 KiB | 37 | 29 |
| htmlcssguide.html | D | 23-Nov-2023 | 28.8 KiB | 878 | 629 |
| htmlcssguide.xml | D | 23-Nov-2023 | 232 | 9 | 8 |
| intellij-java-google-style.xml | D | 23-Nov-2023 | 21.6 KiB | 599 | 598 |
| javaguide.css | D | 23-Nov-2023 | 6.2 KiB | 573 | 475 |
| javaguide.html | D | 23-Nov-2023 | 48.6 KiB | 1,190 | 870 |
| javaguidelink.png | D | 23-Nov-2023 | 189 | | |
| javascriptguide.xml | D | 23-Nov-2023 | 131.3 KiB | 3,630 | 3,258 |
| jsguide.html | D | 23-Nov-2023 | 139.6 KiB | 3,612 | 2,662 |
| jsoncstyleguide.html | D | 23-Nov-2023 | 745 | 19 | 12 |
| jsoncstyleguide.xml | D | 23-Nov-2023 | 44.6 KiB | 1,188 | 1,121 |
| jsoncstyleguide_example_01.png | D | 23-Nov-2023 | 311.6 KiB | | |
| jsoncstyleguide_example_02.png | D | 23-Nov-2023 | 252.6 KiB | | |
| lispguide.xml | D | 23-Nov-2023 | 152.4 KiB | 3,888 | 3,806 |
| objcguide.md | D | 23-Nov-2023 | 54.2 KiB | 1,824 | 1,319 |
| objcguide.xml | D | 23-Nov-2023 | 276 | 9 | 8 |
| pyguide.md | D | 23-Nov-2023 | 93.5 KiB | 3,242 | 2,397 |
| shell.xml | D | 23-Nov-2023 | 35.4 KiB | 1,153 | 1,049 |
| styleguide.css | D | 23-Nov-2023 | 2.2 KiB | 148 | 127 |
| styleguide.xsl | D | 23-Nov-2023 | 37.7 KiB | 925 | 865 |
| vimscriptfull.xml | D | 23-Nov-2023 | 49.1 KiB | 1,535 | 1,498 |
| vimscriptguide.xml | D | 23-Nov-2023 | 13.9 KiB | 413 | 396 |
| xmlstyle.html | D | 23-Nov-2023 | 34.3 KiB | 682 | 647 |
README.md
1Google Style Guides
2===================
3
4Every major open-source project has its own style guide: a set of conventions
5(sometimes arbitrary) about how to write code for that project. It is much
6easier to understand a large codebase when all the code in it is in a
7consistent style.
8
9“Style” covers a lot of ground, from “use camelCase for variable names” to
10“never use global variables” to “never use exceptions.” This project
11([google/styleguide](https://github.com/google/styleguide)) links to the
12style guidelines we use for Google code. If you are modifying a project that
13originated at Google, you may be pointed to this page to see the style guides
14that apply to that project.
15
16This project holds the [C++ Style Guide][cpp], [Objective-C Style Guide][objc],
17[Java Style Guide][java], [Python Style Guide][py], [R Style Guide][r],
18[Shell Style Guide][sh], [HTML/CSS Style Guide][htmlcss],
19[JavaScript Style Guide][js], [AngularJS Style Guide][angular],
20[Common Lisp Style Guide][cl], and [Vimscript Style Guide][vim]. This project
21also contains [cpplint][cpplint], a tool to assist with style guide compliance,
22and [google-c-style.el][emacs], an Emacs settings file for Google style.
23
24If your project requires that you create a new XML document format, the [XML
25Document Format Style Guide][xml] may be helpful. In addition to actual style
26rules, it also contains advice on designing your own vs. adapting an existing
27format, on XML instance document formatting, and on elements vs. attributes.
28
29The style guides in this project are licensed under the CC-By 3.0 License,
30which encourages you to share these documents.
31See [https://creativecommons.org/licenses/by/3.0/][ccl] for more details.
32
33The following Google style guides live outside of this project:
34[Go Code Review Comments][go] and [Effective Dart][dart].
35
36<a rel="license" href="https://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/88x31.png" /></a>
37
38[cpp]: https://google.github.io/styleguide/cppguide.html
39[objc]: objcguide.md
40[java]: https://google.github.io/styleguide/javaguide.html
41[py]: https://google.github.io/styleguide/pyguide.html
42[r]: https://google.github.io/styleguide/Rguide.html
43[sh]: https://google.github.io/styleguide/shell.xml
44[htmlcss]: https://google.github.io/styleguide/htmlcssguide.html
45[js]: https://google.github.io/styleguide/jsguide.html
46[angular]: https://google.github.io/styleguide/angularjs-google-style.html
47[cl]: https://google.github.io/styleguide/lispguide.xml
48[vim]: https://google.github.io/styleguide/vimscriptguide.xml
49[cpplint]: https://github.com/google/styleguide/tree/gh-pages/cpplint
50[emacs]: https://raw.githubusercontent.com/google/styleguide/gh-pages/google-c-style.el
51[xml]: https://google.github.io/styleguide/xmlstyle.html
52[go]: https://golang.org/wiki/CodeReviewComments
53[dart]: https://www.dartlang.org/guides/language/effective-dart
54[ccl]: https://creativecommons.org/licenses/by/3.0/
55