[formatters] Updated readme for clang-format.

This commit is contained in:
Davide Tantillo 2025-09-25 09:27:26 +02:00
parent d567a19101
commit b9494c2624

View File

@ -4,7 +4,7 @@ This folder contains formatter configuration files to be used with IDEs as well
You will need the following on your `PATH`:
- JDK 10+
- clang-format 12.0.1 (i.e. `brew install clang-format`). Also set the environment variable `CLANGFORMAT` to the path of the `clang-format` executable.
- clang-format 13.0.1 (i.e. `brew install clang-format`). Also set the environment variable `CLANGFORMAT` to the path of the `clang-format` executable. If you have another version installed, you can get it (here)[https://releases.llvm.org/download.html#13.0.1]. For Apple silicon get `clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz` from github pages.
- dotnet format (i.e. `dotnet tool install -g dotnet-format`, comes with dotnet 6 out of the box)
- tsfmt, (i.e. `npm install -g typescript-formatter`)