mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
cidr-formatter: mostly finished
This commit is contained in:
@@ -1266,7 +1266,8 @@ public abstract class AbstractJavaBlock extends AbstractBlock implements JavaBlo
|
||||
*/
|
||||
protected boolean shouldUseVarDeclarationAlignment(ASTNode node) {
|
||||
return mySettings.ALIGN_GROUP_FIELD_DECLARATIONS && ALIGN_IN_COLUMNS_ELEMENT_TYPES.contains(node.getElementType())
|
||||
&& !myAlignmentInColumnsHelper.useDifferentVarDeclarationAlignment(node, ALIGNMENT_IN_COLUMNS_CONFIG);
|
||||
&& !myAlignmentInColumnsHelper.useDifferentVarDeclarationAlignment(node, ALIGNMENT_IN_COLUMNS_CONFIG,
|
||||
mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS);
|
||||
}
|
||||
|
||||
private SyntheticCodeBlock createCodeBlockBlock(final ArrayList<Block> localResult, final Indent indent, final int childrenIndent) {
|
||||
|
||||
Reference in New Issue
Block a user