'Is there a way to generate a clang-format file from a C++ code?
Supposing I have a C++ code already written and I want to generate a clang-format file from it, in order to note all the format settings of my code in this file, is there a way of doing it?
Solution 1:[1]
Clang-Format Detector allows to generate clang-format file for the selected files. It also has a very convenient feature of seeing the result and adjusting it. Won't work for entire codebase though.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | TylerH |
