Download : MingW-64
add Envirment path in Powershell
$env:PATH +=";${MingW-install-path}/bin/"
- install node package
npm install -g clang-format
-
VSCode Extentions
https://marketplace.visualstudio.com/items?itemName=mjohns.clang-format -
Settings VSCode Open the command palette (either with F1 or Ctrl+Shift+P) Type "open settings" You are presented with two options, choose "Open Settings (JSON)"
{
"clang-format.executable": "clang-format.cmd"
}