clangformat file
.clang-format-6 is using clang format 6 that is mostly used by visual studio
.clang-format-14 is using clang format 14 that is used by visual studio code
How to use clang format 14 in visual studio
- install visual studio code
- menu "Tools -> Options -> Text Editor -> C/C++ -> Formatting -> General" and check on "Use custom clang-format.exe file" and choose the clang-format.exe in VS code