|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| cpplint/ | | 03-May-2024 | - | 12,111 | 9,065 |
| docguide/ | | 03-May-2024 | - | 692 | 488 |
| include/ | | 03-May-2024 | - | 609 | 443 |
| LICENSE | D | 03-May-2024 | 19 KiB | 320 | 293 |
| METADATA | D | 03-May-2024 | 410 | 18 | 16 |
| MODULE_LICENSE_BSD | D | 03-May-2024 | 0 | | |
| MODULE_LICENSE_CC | D | 03-May-2024 | 0 | | |
| OWNERS | D | 03-May-2024 | 91 | 4 | 3 |
| README.md | D | 03-May-2024 | 2.9 KiB | 55 | 46 |
| Rguide.md | D | 03-May-2024 | 2.9 KiB | 110 | 79 |
| Rguide.xml | D | 03-May-2024 | 482 | 16 | 15 |
| angularjs-google-style.html | D | 03-May-2024 | 13.7 KiB | 394 | 315 |
| cppguide.html | D | 03-May-2024 | 221.3 KiB | 5,932 | 4,751 |
| cppguide.xml | D | 03-May-2024 | 727 | 19 | 12 |
| eclipse-cpp-google-style.xml | D | 03-May-2024 | 17.2 KiB | 168 | 167 |
| eclipse-java-google-style.xml | D | 03-May-2024 | 35.2 KiB | 338 | 337 |
| google-c-style.el | D | 03-May-2024 | 6.1 KiB | 152 | 100 |
| google-r-style.html | D | 03-May-2024 | 673 | 18 | 11 |
| google_python_style.vim | D | 03-May-2024 | 1 KiB | 37 | 29 |
| htmlcssguide.html | D | 03-May-2024 | 28.8 KiB | 878 | 629 |
| htmlcssguide.xml | D | 03-May-2024 | 232 | 9 | 8 |
| intellij-java-google-style.xml | D | 03-May-2024 | 21.6 KiB | 599 | 598 |
| javaguide.css | D | 03-May-2024 | 6.2 KiB | 573 | 475 |
| javaguide.html | D | 03-May-2024 | 48.6 KiB | 1,190 | 870 |
| javaguidelink.png | D | 03-May-2024 | 189 | | |
| javascriptguide.xml | D | 03-May-2024 | 131.3 KiB | 3,630 | 3,258 |
| jsguide.html | D | 03-May-2024 | 139.6 KiB | 3,612 | 2,662 |
| jsoncstyleguide.html | D | 03-May-2024 | 745 | 19 | 12 |
| jsoncstyleguide.xml | D | 03-May-2024 | 44.6 KiB | 1,188 | 1,121 |
| jsoncstyleguide_example_01.png | D | 03-May-2024 | 311.6 KiB | | |
| jsoncstyleguide_example_02.png | D | 03-May-2024 | 252.6 KiB | | |
| lispguide.xml | D | 03-May-2024 | 152.4 KiB | 3,888 | 3,806 |
| objcguide.md | D | 03-May-2024 | 54.2 KiB | 1,824 | 1,319 |
| objcguide.xml | D | 03-May-2024 | 276 | 9 | 8 |
| pyguide.md | D | 03-May-2024 | 93.5 KiB | 3,242 | 2,397 |
| shell.xml | D | 03-May-2024 | 35.4 KiB | 1,153 | 1,049 |
| styleguide.css | D | 03-May-2024 | 2.2 KiB | 148 | 127 |
| styleguide.xsl | D | 03-May-2024 | 37.7 KiB | 925 | 865 |
| vimscriptfull.xml | D | 03-May-2024 | 49.1 KiB | 1,535 | 1,498 |
| vimscriptguide.xml | D | 03-May-2024 | 13.9 KiB | 413 | 396 |
| xmlstyle.html | D | 03-May-2024 | 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