سبک کوڈنگ

This page gives rules and/or guidances to all developers that want to integrate some code to Jami

قوانین فرمت C ++ توسط این فایل فرمت clang تعریف شده است: https://git.jami.net/savoirfairelinux/jami-daemon/blob/master/.clang-format

QML format rules are defined by the source code used to build the qmlformat executable: https://codebrowser.dev/qt6/qtdeclarative/tools/qmlformat/qmlformat.cpp.html

All developers are recommended to format their code using the script in jami-project/scripts/format.sh. This is done automatically (as a pre-commit hook) when using ./build.py --init --qt=<path-to-qt>.