void (@NotNull Project project) { DocumentUtil.writeInRunUndoTransparentAction(() -> { PsiDocumentManager.getInstance(project).commitAllDocuments(); PostprocessReformattingAspect.getInstance(project).doPostponedFormatting(); }); }