Files
jami-docs/developer/new-developers/coding-style.md
ovari123 e16bf1db04 developer/new-developers/coding-style: cleanup
linkify
rst format → md format for heading
guidances → guidance
to → for

Change-Id: I7b2df1987250a8ae2e1f0fa6e637d69671113a2b
2025-01-24 16:40:18 -05:00

631 B

Coding style

This page provides rules and/or guidance for developers wanting to integrate code into Jami.

C++ format rules are defined by the following clang-format file: 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.

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