• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cpplint/22-Nov-2023-12,0839,045

docguide/22-Nov-2023-692488

include/22-Nov-2023-609443

.gitD01-Jan-19700

LICENSED22-Nov-202319 KiB320293

METADATAD22-Nov-2023387 1715

MODULE_LICENSE_BSDD22-Nov-20230

MODULE_LICENSE_CCD22-Nov-20230

NOTICED22-Nov-202319 KiB320293

OWNERSD22-Nov-202391 43

README.mdD22-Nov-20232.9 KiB5546

Rguide.xmlD22-Nov-202316.2 KiB448404

angularjs-google-style.htmlD22-Nov-202313.7 KiB394315

cppguide.htmlD22-Nov-2023201 KiB6,1714,869

cppguide.xmlD22-Nov-2023727 1912

eclipse-cpp-google-style.xmlD22-Nov-202317.2 KiB168167

eclipse-java-google-style.xmlD22-Nov-202335.2 KiB338337

google-c-style.elD22-Nov-20236.1 KiB152100

google-r-style.htmlD22-Nov-2023738 1912

google_python_style.vimD22-Nov-20231 KiB3729

htmlcssguide.htmlD22-Nov-202328.2 KiB903629

htmlcssguide.xmlD22-Nov-2023232 98

intellij-java-google-style.xmlD22-Nov-202321.6 KiB599598

javaguide.cssD22-Nov-20236.2 KiB573475

javaguide.htmlD22-Nov-202348.4 KiB1,188868

javaguidelink.pngD22-Nov-2023189

javascriptguide.xmlD22-Nov-2023131.3 KiB3,6303,258

jsguide.htmlD22-Nov-2023111.4 KiB2,8172,143

jsoncstyleguide.htmlD22-Nov-2023745 1912

jsoncstyleguide.xmlD22-Nov-202344.6 KiB1,1881,121

jsoncstyleguide_example_01.pngD22-Nov-2023311.6 KiB

jsoncstyleguide_example_02.pngD22-Nov-2023252.6 KiB

lispguide.xmlD22-Nov-2023152.4 KiB3,8883,806

objcguide.mdD22-Nov-202348.3 KiB1,6621,197

objcguide.xmlD22-Nov-2023276 98

pyguide.htmlD22-Nov-2023107.6 KiB2,3112,092

shell.xmlD22-Nov-202335.4 KiB1,1531,049

styleguide.cssD22-Nov-20232.2 KiB148127

styleguide.xslD22-Nov-202337.7 KiB925865

vimscriptfull.xmlD22-Nov-202349.1 KiB1,5351,498

vimscriptguide.xmlD22-Nov-202313.9 KiB413396

xmlstyle.htmlD22-Nov-202334.3 KiB682647

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.xml
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