Regarding the path of clang-format.exe in VS, the default path is: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin. Please make sure that you have installed the Desktop development with C++ workload.