clang-format vs pgFormatter
| clang-format | pgFormatter | |
|---|---|---|
| Free plan | No | Yes |
| Free trial | No | No |
| Paid from | — | Free |
| Open source | No | No |
| Platforms | extension, Linux, macOS, Windows | api, Linux, self-hosted, Web |
| Free plan | Yes | Yes |
| Supported languages | C, C++, Java, JavaScript, JSON, Objective-C, Protocol Buffers, C#, TableGen, TextProto, Verilog | — |
| Supported platforms | Windows, macOS, Linux | — |
| Editor integration | Yes | — |
| Ignore files | Yes | — |
| Changed-lines formatting | Yes | — |
| Library API | Yes | — |
| License model | open_source | — |
Both are listed in Best Code Formatting Tools. On Everything Xiaomi, pgFormatter scores higher on our published basis.