Difference between revisions of "Code style"

 
Line 6: Line 6:
  
  
I do follow the '''google style guides'''.
+
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 16: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.


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