compiler ref index: do not show progress indicator on compiler reference index initialization IDEA-323288

GitOrigin-RevId: 7876ded9462c8c7ea21cedb0b77f532f566ebb0c
This commit is contained in:
Dmitry Batkovich
2023-08-08 06:48:33 +02:00
committed by intellij-monorepo-bot
parent 14825ccb1f
commit ef5c4b3adb
2 changed files with 1 additions and 7 deletions

View File

@@ -3,12 +3,10 @@ package com.intellij.compiler.backwardRefs
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.compiler.CompilerManager
import com.intellij.openapi.compiler.JavaCompilerBundle
import com.intellij.openapi.diagnostic.thisLogger
import com.intellij.openapi.extensions.ExtensionNotApplicableException
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.progress.coroutineToIndicator
import com.intellij.openapi.progress.withBackgroundProgressIndicator
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.ProjectActivity
import kotlinx.coroutines.ensureActive
@@ -37,10 +35,7 @@ internal class IsUpToDateCheckStartupActivity : ProjectActivity {
}
coroutineContext.ensureActive()
val isUpToDate = withBackgroundProgressIndicator(project, JavaCompilerBundle.message("refresh.compiler.ref.index")) {
nonBlockingIsUpToDate(project)
}
val isUpToDate = nonBlockingIsUpToDate(project)
logger.info("isUpToDate = $isUpToDate")
for (consumer in isUpToDateConsumers) {

View File

@@ -219,7 +219,6 @@ unknown.build.process.error=unknown error
intention.name.make.implements=Make implements ''{0}''
intention.name.make.extends=Make extends ''{0}''
classes.up.to.date.check=Classes up-to-Date Check
refresh.compiler.ref.index=Checking build up-to-date status
action.run.all.affected.tests.text=Run All Affected Tests
popup.title.affected.tests.counts=Found {0} {1, choice, 0#Test|1#Tests} in {2} {3, choice, 0#Class|1#Classes} for {4}