Skip to content
Matt Schulte edited this page Sep 26, 2024 · 3 revisions

Style

  • 4 space indents
  • Wrap lines at around 100 characters (can violate occasionally)
  • Use attach braces as defined by astyle's --style=java
  • #pragma once preferred for header files

Scripts to automate

./scripts/codestyle <files> will run astyle on any files passed and replace the file with the new copy. Astyle must be installed on the host machine.

Clone this wiki locally