Rename in wrapping settings: method -> function (KT-29304)

This commit is contained in:
Nikolay Krasko
2019-02-12 19:08:24 +03:00
parent f50820045a
commit 9fe82524e5
@@ -285,6 +285,12 @@ class KotlinLanguageCodeStyleSettingsProvider : LanguageCodeStyleSettingsProvide
)
consumer.renameStandardOption(CodeStyleSettingsCustomizable.WRAPPING_SWITCH_STATEMENT, "'when' statements")
consumer.renameStandardOption("FIELD_ANNOTATION_WRAP", "Property annotations")
consumer.renameStandardOption("METHOD_PARAMETERS_WRAP", "Function declaration parameters")
consumer.renameStandardOption("CALL_PARAMETERS_WRAP", "Function call arguments")
consumer.renameStandardOption("METHOD_CALL_CHAIN_WRAP", "Chained function calls")
consumer.renameStandardOption("METHOD_ANNOTATION_WRAP", "Function annotations")
consumer.renameStandardOption(CodeStyleSettingsCustomizable.WRAPPING_METHOD_PARENTHESES, "Function parentheses")
showCustomOption(
KotlinCodeStyleSettings::ALIGN_IN_COLUMNS_CASE_BRANCH,
"Align 'when' branches in columns",