Force no line break after dot in chained calls
#KT-20362 Fixed
This commit is contained in:
@@ -291,8 +291,10 @@ fun createSpacingBuilder(settings: CodeStyleSettings, builderUtil: KotlinSpacing
|
||||
afterInside(CONSTRUCTOR_KEYWORD, PRIMARY_CONSTRUCTOR).spaces(0)
|
||||
betweenInside(IDENTIFIER, TYPE_PARAMETER_LIST, CLASS).spaces(0)
|
||||
|
||||
aroundInside(DOT, DOT_QUALIFIED_EXPRESSION).spaces(0)
|
||||
aroundInside(SAFE_ACCESS, SAFE_ACCESS_EXPRESSION).spaces(0)
|
||||
beforeInside(DOT, DOT_QUALIFIED_EXPRESSION).spaces(0)
|
||||
afterInside(DOT, DOT_QUALIFIED_EXPRESSION).spacesNoLineBreak(0)
|
||||
beforeInside(SAFE_ACCESS, SAFE_ACCESS_EXPRESSION).spaces(0)
|
||||
afterInside(SAFE_ACCESS, SAFE_ACCESS_EXPRESSION).spacesNoLineBreak(0)
|
||||
|
||||
between(MODIFIERS_LIST_ENTRIES, MODIFIERS_LIST_ENTRIES).spaces(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user