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?
Is there a way to generate a clang-format file from a C++ code?
Asked Answered
Can try github.com/johnmcfarlane/unformat but doesn't work that reliably –
Spirogyra
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.
© 2022 - 2024 — McMap. All rights reserved.