★ wanayoo — archive 1999 https://github.com/google/styleguideNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Style guides for Google-originated open-source projects
HTML Python XSLT CSS JavaScript Emacs Lisp Other
branch: gh-pages
Failed to load latest commit information.
cpplint Update cpplint.py to #409
include Update C++ style guide to 4.45.
README.md Update README.md to link to the served versions of all the pages.
Rguide.xml Restore r105 of Rguide.xml, now with the svn:mime-type property set.
angularjs-google-style.html fixing a broken character
cppguide.html Update C++ style guide to 4.45.
cppguide.xml Update C++ style guide to 4.45.
eclipse-cpp-google-style.xml Add Google C++ Eclipse style config.
eclipse-java-google-style.xml java style guide and eclipse configuration update
google-c-style.el Add autoload magic comments for the functions exposed by google-c-style.
google-r-style.html Restore redirect to Rguide.xml from r105.
google_python_style.vim New file google_python_style.vim.
htmlcssguide.xml Update C++ style guide to 3.260:
intellij-java-google-style.xml Adding config files for formatting for IntelliJ and Eclipse
javaguide.css java style guide update: presentation
javaguide.html java style guide update: presentation
javaguidelink.png initial commit for java style guide
javascriptguide.xml Update C++ style guide to 3.274:
jsoncstyleguide.html Update look and feel of the style guides
jsoncstyleguide.xml Adding licensing footer
jsoncstyleguide_example_01.png Adding first iteration of the JSON-C Style Guide for JSON APIs
jsoncstyleguide_example_02.png Adding first iteration of the JSON-C Style Guide for JSON APIs
lispguide.xml Update the Common Lisp Style Guide to 1.28.
objcguide.xml Update C++ style guide to 3.274:
pyguide.html Update C++ style guide to 3.274:
shell.xml Update C++ style guide to 3.274:
styleguide.css Update look and feel of the style guides
styleguide.xsl Update C++ style guide to 3.231:
vimscriptfull.xml Fix typo in vimscriptfull guide: addmatch->matchadd
vimscriptguide.xml Add vimscript style guide and "heavy" style guide.
xmlstyle.html Checked in scrubbed version of Google XML Document Format Style Guide

README.md

Google Style Guides

Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.

“Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.” This project holds the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project.

Our C++ Style Guide, Objective-C Style Guide, Java Style Guide, Python Style Guide, Shell Style Guide, HTML/CSS Style Guide, JavaScript Style Guide, AngularJS Style Guide, Common Lisp Style Guide, and Vimscript Style Guide are now available. We have also released cpplint, a tool to assist with style guide compliance, and google-c-style.el, an Emacs settings file for Google style.

If your project requires that you create a new XML document format, our XML Document Format Style Guide may be helpful. In addition to actual style rules, it also contains advice on designing your own vs. adapting an existing format, on XML instance document formatting, and on elements vs. attributes.

These style guides are licensed under the CC-By 3.0 License, which encourages you to share these documents. See http://creativecommons.org/licenses/by/3.0/ for more details.

Something went wrong with that request. Please try again.