mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[settings] IJPL-249039 Show progress in raw settings import
Use the same primary migration progress text in the full IDEA-to-IDEA raw import path as in the regular options import path, and advance the progress fraction before restart so the progress bar becomes visibly active (cherry picked from commit c93043d4936abfea05b03219feb4f023b44bfa24) IJ-CR-217203 GitOrigin-RevId: cb52fc511a58603d87be048982388bf04341597a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0bf2eb1eac
commit
a92eb402c4
+3
-1
@@ -458,11 +458,13 @@ class JbImportServiceImpl(private val coroutineScope: CoroutineScope) : JbServic
|
||||
suspend fun performImport(): ImportResult {
|
||||
if (importEverything && NameMappings.canImportDirectly(productInfo.codeName) && data.featuredPluginIds.isEmpty()) {
|
||||
logger.info("Started importing all...")
|
||||
progressIndicator.text2 = ImportSettingsBundle.message("progress.details.migrating.options")
|
||||
progressIndicator.text = ImportSettingsBundle.message("progress.text.migrating.options")
|
||||
progressIndicator.fraction = 0.5
|
||||
//TODO support plugin list customization for raw import
|
||||
//storeImportConfig(productInfo.configDirPath, filteredCategories, plugins2Skip)
|
||||
ImportSettingsEventsCollector.jbRawSelected(productInfo.codeName)
|
||||
importer.importRaw()
|
||||
progressIndicator.fraction = 0.99
|
||||
return ImportResult.RestartWithExistingConfigMarker
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user