-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Coding Guidelines to GWT-OpenLayers #23
Comments
I agree with you. Some people use different IDE. 2014-09-10 10:39 GMT+02:00 TDesjardins [email protected]:
Giuseppe La Scaleia C.da S. Loja phone: +39 0971427305 |
+1 also for me. 2014-09-10 10:42 GMT+02:00 Giuseppe La Scaleia [email protected]:
Francesco Izzi C.da S. Loja phone: +39 0971427310 |
O.k. nice to hear. I can create a base configuration file with checkstyle. I think this should be orientated to the Java- and perhaps the GWT-Styleguides ( https://github.com/stephenh/google-web-toolkit/blob/master/eclipse/settings/code-style/gwt-checkstyle.xml ) ? Another possibility is to take the Java-Styleguide and add specifications that preferably fits the GWT-OpenLayers codebase. So we can avoid to much code changes for formatting. Regards Tino |
The code style of GWT-OpenLayers isn't homogenous. For example: mixed usage of tabs and blanks for indentations and different positons of braces.
I think this aggravates the maintenance of the code and often it makes it difficult to see real code changes in commits etc.
I think a solution is to provide a checkstyle.xml or something similar, so the contributors can check the code with the IDE before creating a pull request. So the codebase will become more homogenous step-by-step.
The text was updated successfully, but these errors were encountered: