In general, you should use uncrustify with the uncrustify.ini file from the repo. There are also automatic checks for your PR.
uncrustify
uncrustify.ini
To run uncrustify on all project files:
$ git ls-files | grep "hpp$\|cpp$" | xargs uncrustify -c uncrustify.ini --no-backup
Class, method and variable names are all in snake_case. Class names should end in _t.
snake_case
_t
File names are all lowercase, with - as word separator. Headers end in .hpp. So, a header could be called this-is-example-header.hpp.
-
.hpp
this-is-example-header.hpp
#ifdef
The wayfire-tests are a suite of tests for wayfire.
wayfire-tests
Wayfire pull requests accompanied by a wayfire test pull request to demonstrate a bug fix will be prioritized.
There was an error while loading. Please reload this page.