Go to file
2016-08-20 14:44:55 -04:00
autoformat.sh Created version 1, will autoformat, strip blank lines and trailing whitespace 2016-08-19 11:09:23 -04:00
process.pl Don't write .bak file, write only if there were changes 2016-08-19 11:23:25 -04:00
README.md Added known bug to README 2016-08-20 14:44:55 -04:00

csc230-autoformat

Requirements

  • zsh
  • astyle 2.04+
  • perl

Usage

cd path/with/code/
git clone https://github.ncsu.edu/agadler/csc230-autoformat ../autoformat
../autoformat/autoformat.sh

Known Issues

  • Automatically formatting this doesn't work ((true) doesn't get placed after `while ``): ``` while (true) {}