mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
IDE: Reformat files after linking Gradle project
This commit is contained in:
parent
a40e5731e5
commit
ffef5c00db
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user