DEV Community


Discussion on: Prettier and the Beauty of Opinionated Code Formatters

fredericbonnet profile image
Frédéric Bonnet

Clang-format works great with VScode BTW. It's included in the standard C/C++ extension with sensible default settings although you can use your own or reuse popular styles (e.g. LLVM). I use it on all my projects and it made my life so much easier, formatting C code manually is such a PITA.