From 1af1c63dc788a3eba36c69ccabadf17184634eb5 Mon Sep 17 00:00:00 2001 From: Kirill Zhukov Date: Tue, 16 Aug 2022 21:35:28 -0700 Subject: [PATCH] Fix trailing commas configuration - KTIJ-22516. ALLOW_TRAILING_COMMA configuration does not currently get picked up by IJ/AS, it only works if it's set up using legacy `JetCodeStyleSettings` block. See https://youtrack.jetbrains.com/issue/KTIJ-22516 for more details, enabling trailing commas via `JetCodeStyleSettings` until the IDE bug is fixed. --- configs/codestyles/Square.xml | 2 ++ configs/codestyles/SquareAndroid.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/codestyles/Square.xml b/configs/codestyles/Square.xml index d7b0a46..ebee07c 100644 --- a/configs/codestyles/Square.xml +++ b/configs/codestyles/Square.xml @@ -77,6 +77,8 @@