void (@NotNull CodeStyleSettingsCustomizable consumer, @NotNull SettingsType settingsType) { if (settingsType == SettingsType.INDENT_SETTINGS) { consumer.showStandardOptions("INDENT_SIZE", "KEEP_INDENTS_ON_EMPTY_LINES"); } else if (settingsType == SettingsType.SPACING_SETTINGS) { consumer.showStandardOptions("SPACE_WITHIN_BRACES", "SPACE_WITHIN_BRACKETS"); consumer.showCustomOption(YAMLCodeStyleSettings.class, "SPACE_BEFORE_COLON", YAMLBundle.message( "YAMLLanguageCodeStyleSettingsProvider.label.before"), getInstance().SPACES_OTHER); } else if (settingsType == SettingsType.WRAPPING_AND_BRACES_SETTINGS) { consumer.showStandardOptions("KEEP_LINE_BREAKS"); consumer.showCustomOption(YAMLCodeStyleSettings.class, "ALIGN_VALUES_PROPERTIES", YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.align.values"), null, Holder.ALIGN_OPTIONS, Holder.ALIGN_VALUES); consumer.showCustomOption(YAMLCodeStyleSettings.class, "SEQUENCE_ON_NEW_LINE", YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.sequence.on.new.line"), YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.group.sequence.value")); consumer.showCustomOption(YAMLCodeStyleSettings.class, "BLOCK_MAPPING_ON_NEW_LINE", YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.block.mapping.on.new.line"), YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.group.sequence.value")); consumer.showCustomOption(YAMLCodeStyleSettings.class, "AUTOINSERT_SEQUENCE_MARKER", YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.autoinsert.sequence.marker"), YAMLBundle.message("YAMLLanguageCodeStyleSettingsProvider.group.sequence.value")); } }