Clang-Format Indent 4 for VS Code
The extension is forked from Xaver Hellauer's Repo and modified to use clang-format with indent 4. More usage details can be found in the original repo.
Install clang-format use one of the following methods:
Obtain the absolute path to clang-format:
Add the following to your vscode
To automatically format a file on save, add the following to your vscode
If you want to use a specific clang-format config file, add the following to your vscode
Available on github: https://github.com/demiaochen/vscode-clang-format-indent-4