compile session naming (IDEA-174920)

This commit is contained in:
Eugene Zhuravlev
2019-01-14 12:20:46 +01:00
parent 9c91c1ceb7
commit e7983783ff
2 changed files with 6 additions and 4 deletions

View File

@@ -372,10 +372,11 @@ public class CompileDriver {
final CompilerMessage message) {
ApplicationManager.getApplication().assertIsDispatchThread();
final String contentName = CompilerBundle.message(forceCompile ? "compiler.content.name.compile" : "compiler.content.name.make");
final boolean isUnitTestMode = ApplicationManager.getApplication().isUnitTestMode();
final CompilerTask compileTask = new CompilerTask(myProject, contentName, isUnitTestMode, !withModalProgress, true,
isCompilationStartedAutomatically(scope), withModalProgress);
final String name = CompilerBundle.message(isRebuild ? "compiler.content.name.rebuild" : forceCompile ? "compiler.content.name.recompile" : "compiler.content.name.make");
final CompilerTask compileTask = new CompilerTask(
myProject, name, isUnitTestMode, !withModalProgress, true, isCompilationStartedAutomatically(scope), withModalProgress
);
StatusBar.Info.set("", myProject, "Compiler");
// ensure the project model seen by build process is up-to-date

View File

@@ -54,7 +54,8 @@ status.compilation.aborted=Compilation aborted
status.all.up.to.date=All files are up-to-date
compiler.error.failed.to.delete=Failed to delete {0}
progress.updating.caches=Updating caches...
compiler.content.name.compile=Rebuild
compiler.content.name.rebuild=Rebuild
compiler.content.name.recompile=Recompile
compiler.content.name.make=Build
status.compilation.completed.successfully.with.warnings=Build completed successfully with {0} {0,choice, 0#warnings|1#warning|2#warnings}
status.compilation.completed.successfully=Build completed successfully