Notes on deal.II indentation

deal.II uses astyle to normalize indentation. A style file is provided at DEAL/contrib/utilities/astyle.rc where DEAL is the path to you deal.II source directory.

All header and source files in the SVN repository are supposed to conform to this style file. It is very important that we adhere to this indentation style in order to avoid false conflicts on svn updates.

Before every commit, you should run astyle --options=DEAL/contrib/utilities/astyle.rc on each of your files. This will make sure indentation is conforming to our style.

Upon commit, svn will output comments on the conformity of your files. If you see a line of the form !! file style mismatch detected please re-indent the file. SVN may reject those files soon!


The deal.II Authors $Date: 2013-10-31 10:29:06 -0400 (Thu, 31 Oct 2013) $