From e6d7a43eebbca58cd2a5c836598bc1dc430508ea Mon Sep 17 00:00:00 2001 From: Zongle Wang Date: Sun, 28 Jan 2024 15:36:46 +0800 Subject: [PATCH] Don't trim spaces in AOSP code --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 8bcb091d17..43e799ee05 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,10 @@ indent_style = space insert_final_newline = true trim_trailing_whitespace = true +[*.java] +# Don't trim spaces in AOSP code. +trim_trailing_whitespace = false + [*.{kt,kts}] ij_kotlin_imports_layout = * ij_kotlin_allow_trailing_comma = true