Difference between revisions of "Code style"
(Created page with " When it comes to source code, it's important to follow conventions so the next developer can read and understand your code easily! I do follow the '''google style guides'...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Development]] | ||
+ | |||
Line 4: | Line 6: | ||
− | I do follow the '''google style | + | I do follow the '''google style guidelines'''. |
* Google style guides website: https://code.google.com/p/google-styleguide/ | * Google style guides website: https://code.google.com/p/google-styleguide/ | ||
* SVN source files: https://code.google.com/p/google-styleguide/source/browse/trunk | * SVN source files: https://code.google.com/p/google-styleguide/source/browse/trunk |
Latest revision as of 15:00, 29 November 2014
When it comes to source code, it's important to follow conventions so the next developer can read and understand your code easily!
I do follow the google style guidelines.
- Google style guides website: https://code.google.com/p/google-styleguide/
- SVN source files: https://code.google.com/p/google-styleguide/source/browse/trunk
How to use Google style
Download the eclipse-java-google-style.xml
Formatter
- Window → Preferences → Java → Code Style → Formatter
- Import the file by selecting Import