commit | af816a049b70413708b82d38b8b5541e96bea42a | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Fri Jan 22 18:25:24 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Mon Jan 25 08:19:40 2021 +0000 |
tree | 5e9e6d63dbfc9a823d04e81598d9f922d385d357 | |
parent | 7ab35ff4306c7f41c32e3c7c79d5237e75d410c1 [diff] |
aidl-format: .aidl-format for further customizing When the default style is not desirable (e.g. 2-space indent rather than 4-space indent), .aidl-format file can be used to further customize the default config. The format of .aidl-format is the same as .clang-format. When an AIDL file is being formatted, .aidl-format file is found in the nearest parent directory of the input file. If stdin is the input, it's found from the current directory. Bug: 144540481 Test: cat > .aidl-format IndentWidth: 2, ^D ./aidl-format.sh tests/android/aidl/tests/ITestService.aidl The result is with 2-space indent Change-Id: Id833ea9fd2fdf685a1aecc00bc2753c96598996a
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview