mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 15:25:50 +07:00
doPostponedFormatting after formatting in completion after new (IDEA-CR-14717)
This commit is contained in:
@@ -194,6 +194,7 @@ public class ConstructorInsertHandler implements InsertHandler<LookupElementDeco
|
||||
PsiExpressionList listToReformat = getEnclosingExpressionList(elementAtOffset.getParent());
|
||||
if (listToReformat != null) {
|
||||
CodeStyleManager.getInstance(file.getProject()).reformat(listToReformat);
|
||||
PostprocessReformattingAspect.getInstance(file.getProject()).doPostponedFormatting();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user