Open main menu

Difference between revisions of "Code Formatting Conventions"

m
(→‎Naming: clarify that we use camel case for local variables too)
Line 258: Line 258:


== Automatically converting code to our conventions ==
== Automatically converting code to our conventions ==
The following settings for [http://astyle.sourceforge.net/ Artistic Style] (als known as astyle) approximate our code formatting convetions and can be used to quickly convert a big bunch of source files to our conventions. Note that you still may have to manually clean up some stuff afterwards.
The following settings for [http://astyle.sourceforge.net/ Artistic Style] (also known as astyle) approximate our code formatting conventions and can be used to quickly convert a big bunch of source files to our conventions. Note that you may still have to manually clean up some stuff afterwards.
<pre>
<pre>
indent=tab=4
indent=tab=4
68

edits