Thomas Stibor created a new topic ' INDI Code Style' in the forum. 1 year ago

Hi there,

is there an official INDI code style (e.g. clang-format) file?
In the core INDI repo exists only the style file

./drivers/spectrograph/shelyak/.clang-format
whereas in the indi-3rdparty repo two additional clang-format files exist:
./.clang-format
./indi-libcamera/libcamera-apps/.clang-format

The .clang-format files differ and are not ensuring a conform code style.

In the main INDI repo
CMakeLists.txt
already contains code for formatting and checking:
# Clang Format support
if(UNIX OR APPLE)
    set(FORMAT_CODE OFF CACHE BOOL "Enable Clang Format")
...

How about unifying the code style with one .clang-format file (for core and 3rdparty)?

Cheers
Thomas

Read More...