Using uncrustify

From Bio++ Wiki
(Redirected from Use uncrustify)
Jump to: navigation, search

Uncrustify is a highly configurable code beautifier [1]. A configuration file has been created with the syntax commonly used in the Bio++ code. To format your code, download the configuration file File:Biopp uncrustify.txt and run the following command: <source lang="bash"> uncrustify -c biopp_uncrustify.txt --no-backup <your code file> </source> Only use the no-backup option if you are using a versioning system! Not using this option will not alter you original file and create a copy, with .uncrustify extension.