You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
664B

  1. # astyle settings file
  2. # Requires Artistic Style 3.1
  3. # http://astyle.sourceforge.net/
  4. # Usage:
  5. # astyle --suffix=none --options=.astylerc filename.cpp
  6. # or recursively
  7. # astyle --suffix=none --options=.astylerc -r 'include/*' 'src/*'
  8. # or using find
  9. # find src include -type f | xargs astyle --suffix=none --options=.astylerc
  10. style=java
  11. indent=tab=2
  12. attach-closing-while
  13. indent-switches
  14. indent-preproc-block
  15. indent-preproc-define
  16. indent-col1-comments
  17. pad-oper
  18. pad-comma
  19. pad-header
  20. unpad-paren
  21. align-pointer=type
  22. align-reference=type
  23. break-closing-braces
  24. break-one-line-headers
  25. attach-return-type
  26. attach-return-type-decl
  27. keep-one-line-statements
  28. close-templates