[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:
Aleksandra Olemskaia
2026-08-06 12:22:27 +00:00
committed by intellij-monorepo-bot
parent 0bf2eb1eac
commit a92eb402c4
@@ -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 {