goldendict-ng/howto/how to use .clang-format to format the code.md

366 B

Goal

the project has included a .clang-format as the code guideline.

How to use this file

QtCreator:

Check the steps in the following webpage. https://doc.qt.io/qtcreator/creator-indenting-code.html#automatic-formatting-and-indentation

Visual Studio(Newer Version)

visual studio will automatically detect this file and apply the format guideline.