Skip to content

Commit

Permalink
Formating: astyle options file, dev. comment on formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
volca02 committed Sep 5, 2010
1 parent 2389903 commit 55add62
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/DEVELOPERS
Expand Up @@ -21,6 +21,8 @@ There will be a whole coding style document later on, but for now, some simple r
* Think about the way the code looks - will it be readable by others?
* Test before commiting
* Think twice, code once :)
* Formatting, simply put - every curly brace indents, curly braces do not break (on the same line)
- if not sure, use astyle with scripts/astyle.conf as options file (astyle --options=SOME_PATH/scripts/astyle.conf file.cpp)

Be sure to update ChangeLog file sometimes. On linux, it can be updated using svn2cl script.

Expand Down
11 changes: 11 additions & 0 deletions scripts/astyle.conf
@@ -0,0 +1,11 @@
-C
-S
-G
-N
-a
--mode=c
-t8
-T
-U
-A2
-E

0 comments on commit 55add62

Please sign in to comment.