void (Project project, VirtualFile[] changes) { VfsUtil.markDirtyAndRefresh(false, false, false, changes); WriteAction.runAndWait(() -> PsiDocumentManager.getInstance(project).commitAllDocuments()); }