clang-format-ex
v0.0.4
Published
Runs clang-format with Glob support
Downloads
7
Maintainers
Readme
CLANG FORMAT EXTENDED
Install with
> npm i clang-format-ex -g
Usage
> clang-format-ex -i .
Replace a call to clang-format with clang-format-ex and see the magic happen
clang-format-ex is also Cross-Platform and works on Linux, Windows, Mac etc.
By default, Clang-Format cannot support globs and cannot be configured to ignore .gitignore or any other folder easily
IGNORE
- .gitignore
- .clang-format-ignore
Add glob of content to ignore to either of these files
How It Works?
- Takes all Globs as Input
- Find the names of all files that satisfy the Globs
- Perform Clang-Format processing on all these files
Requirements?
- Need to have clang-format installed