mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IDEA-344195 New Import Settings: skip the import dialog and apply the default settings when there are only old config folders of IntelliJ-based IDEs
GitOrigin-RevId: f1fe85de955e459aa68498722a867354a624e865
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31dabed292
commit
19988eb864
@@ -272,12 +272,13 @@ class JbImportServiceImpl(private val coroutineScope: CoroutineScope) : JbServic
|
||||
val jbProductInfo: JbProductInfo = toJbProductInfo(confDir) ?: continue
|
||||
jbProductInfo.prefetchData(coroutineScope, context)
|
||||
products[confDir.name] = jbProductInfo
|
||||
hasDataProcessed.completeWith(Result.success(true))
|
||||
if (!ConfigImportHelper.isConfigOld(jbProductInfo.lastUsageTime))
|
||||
hasDataProcessed.completeWith(Result.success(true))
|
||||
}
|
||||
}
|
||||
warmUpComplete.completeWith(Result.success(true))
|
||||
if (!hasDataProcessed.isCompleted) {
|
||||
hasDataProcessed.completeWith(Result.success(products.isNotEmpty()))
|
||||
hasDataProcessed.completeWith(Result.success(products().isNotEmpty()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user