ChildAttributes (int newChildIndex) { if (hasElementType(myNode, JSON_CONTAINERS)) { // WEB-13675: For some reason including alignment in child attributes causes // indents to consist solely of spaces when both USE_TABS and SMART_TAB // options are enabled. return new ChildAttributes(Indent.getNormalIndent(), null); } else if (myNode.getPsi() instanceof PsiFile) { return new ChildAttributes(Indent.getNoneIndent(), null); } // Will use continuation indent for cases like { "foo"<caret> } return new ChildAttributes(null, null); }