astylerc 743 B

1234567891011121314151617181920212223242526272829
  1. # This file should go into $(HOME)/.astylerc to get the
  2. # default layout that I prefer
  3. # Overall strategy is "horstmann" and that arranges that a close
  4. # brace is always vertically below the corresponding opening brace.
  5. --style=horstmann
  6. # "-L" positions labels indented relative to the block of code they
  7. # relate to.
  8. -L
  9. # "-y" arranges that in "if (a) C; else {..." the "{" is on a separate
  10. # line from the "else".
  11. -y
  12. # "-o" specifies that if the input code had several statement on one line
  13. # this situation is preserved.
  14. -o
  15. # "-c" forces the output to be indented using just spaced never tabs.
  16. -c
  17. # "-m0" helps with indentation of "if" statements where the condition
  18. # is long and splits over several lines.
  19. -m0
  20. # end of .astylerc