KWStyle is a style checker for source code which is integrated in the software process to ensure that the code written by several users is consistent and can be viewed/printed as it was written by one person.
Among the fearures provided by KWStyle:
- Several Indentation checking
- Copyright Header correctness
- Maximum line length
- Encapsulation preservation
- Internal variable checking via regular expressions
- New line at the end of file
A complete list of the features is available here.
mkdir build
cd build
cmake ..
make
- Build and
make install
orcheckinstall
- On at least Debian and Trisquel,
apt-get install kwstyle