Code style: add option for blank lines before declarations
#KT-39024 Fixed #KT-37420 Fixed #KT-37891 Fixed
This commit is contained in:
@@ -519,6 +519,7 @@ formatter.title.align.when.branches.in.columns=Align 'when' branches in columns
|
||||
formatter.title.around.arrow.in.function.types=Around arrow in function types
|
||||
formatter.title.around.arrow.in=Around arrow in "when" clause
|
||||
formatter.title.around.when.branches.with=Around 'when' branches with {}
|
||||
formatter.title.before.declaration.with.comment.or.annotation=Before declaration with comment or annotation
|
||||
formatter.title.before.colon.after.declaration.name=Before colon, after declaration name
|
||||
formatter.title.before.colon.in.new.type.definition=Before colon in new type definition
|
||||
formatter.title.before.lambda.arrow=Before lambda arrow
|
||||
|
||||
@@ -598,6 +598,12 @@
|
||||
<option name="when" path="Blank Lines" hit="Around 'when' branches with {}"/>
|
||||
<option name="with" path="Blank Lines" hit="Around 'when' branches with {}"/>
|
||||
<option name="before" path="Blank Lines" hit="Before '}':"/>
|
||||
<option name="annotation" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="before" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="comment" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="declaration" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="or" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="with" path="Blank Lines" hit="Before declaration with comment or annotation"/>
|
||||
<option name="blank" path="Blank Lines" hit="Blank Lines"/>
|
||||
<option name="lines" path="Blank Lines" hit="Blank Lines"/>
|
||||
<option name="at" path="Code Generation" hit="Block comment at first column"/>
|
||||
@@ -1307,10 +1313,6 @@
|
||||
<option name="for" hit="ML Completion for Kotlin"/>
|
||||
<option name="kotlin" hit="ML Completion for Kotlin"/>
|
||||
<option name="ml" hit="ML Completion for Kotlin"/>
|
||||
<option name="experimental" hit="New Experimental Project Wizard"/>
|
||||
<option name="new" hit="New Experimental Project Wizard"/>
|
||||
<option name="project" hit="New Experimental Project Wizard"/>
|
||||
<option name="wizard" hit="New Experimental Project Wizard"/>
|
||||
<option name="converter" hit="New Java to Kotlin Converter"/>
|
||||
<option name="java" hit="New Java to Kotlin Converter"/>
|
||||
<option name="kotlin" hit="New Java to Kotlin Converter"/>
|
||||
|
||||
Reference in New Issue
Block a user