IDE: Reformat files after linking Gradle project

This commit is contained in:
Him188 2021-04-08 01:42:48 +08:00
parent a40e5731e5
commit ffef5c00db

View File

@ -43,17 +43,17 @@ class CreateProjectTask(
val build = model.buildSystemType.createBuildSystem(module, root.vf, model)
build.createProject(module, root.vf, model)
build.doFinish(indicator)
invokeLater {
VfsUtil.markDirtyAndRefresh(false, true, true, root.vf)
}
invokeLater {
@Suppress("UnstableApiUsage")
(linkAndRefreshGradleProject(root.toAbsolutePath().toString(), project))
linkAndRefreshGradleProject(root.toAbsolutePath().toString(), project)
showProgress(project)
}
build.doFinish(indicator)
}
}