From 232af8a4fc25eeba13ca18772cf548fd787862b9 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 16 May 2017 18:06:37 +0200 Subject: [PATCH] Cleanup code style option names #KT-14639 Fixed --- .../formatter/KotlinLanguageCodeStyleSettingsProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/formatter/KotlinLanguageCodeStyleSettingsProvider.java b/idea/src/org/jetbrains/kotlin/idea/formatter/KotlinLanguageCodeStyleSettingsProvider.java index 22e4a13cf0b..f732005ab43 100644 --- a/idea/src/org/jetbrains/kotlin/idea/formatter/KotlinLanguageCodeStyleSettingsProvider.java +++ b/idea/src/org/jetbrains/kotlin/idea/formatter/KotlinLanguageCodeStyleSettingsProvider.java @@ -158,11 +158,11 @@ public class KotlinLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSe CodeStyleSettingsCustomizable.SPACES_AROUND_OPERATORS); consumer.showCustomOption(KotlinCodeStyleSettings.class, "SPACE_BEFORE_TYPE_COLON", - "Space before colon, after declarations' name", + "Space before colon, after declaration name", CodeStyleSettingsCustomizable.SPACES_OTHER); consumer.showCustomOption(KotlinCodeStyleSettings.class, "SPACE_AFTER_TYPE_COLON", - "Space after colon, before declarations' type", + "Space after colon, before declaration type", CodeStyleSettingsCustomizable.SPACES_OTHER); consumer.showCustomOption(KotlinCodeStyleSettings.class, "SPACE_BEFORE_EXTEND_COLON", @@ -208,7 +208,7 @@ public class KotlinLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSe "METHOD_PARAMETERS_WRAP" ); consumer.renameStandardOption(CodeStyleSettingsCustomizable.WRAPPING_SWITCH_STATEMENT, "'when' statements"); - consumer.showCustomOption(KotlinCodeStyleSettings.class, "ALIGN_IN_COLUMNS_CASE_BRANCH", "Align in columns 'case' branches", + consumer.showCustomOption(KotlinCodeStyleSettings.class, "ALIGN_IN_COLUMNS_CASE_BRANCH", "Align 'when' branches in columns", CodeStyleSettingsCustomizable.WRAPPING_SWITCH_STATEMENT); consumer.showCustomOption(KotlinCodeStyleSettings.class, "LBRACE_ON_NEXT_LINE", -- GitLab