mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
access problems view only in automake mode
This commit is contained in:
@@ -106,6 +106,10 @@ public class CompileContextImpl extends UserDataHolderBase implements CompileCon
|
||||
myShouldUpdateProblemsView = workspaceConfig.useOutOfProcessBuild() && workspaceConfig.MAKE_PROJECT_ON_SAVE;
|
||||
}
|
||||
|
||||
public boolean shouldUpdateProblemsView() {
|
||||
return myShouldUpdateProblemsView;
|
||||
}
|
||||
|
||||
public void recalculateOutputDirs() {
|
||||
final Module[] allModules = ModuleManager.getInstance(myProject).getModules();
|
||||
|
||||
|
||||
@@ -449,9 +449,11 @@ public class CompileDriver {
|
||||
|
||||
@Override
|
||||
public void sessionTerminated(UUID sessionId) {
|
||||
final ProblemsView view = ProblemsViewImpl.SERVICE.getInstance(myProject);
|
||||
view.clearProgress();
|
||||
view.clearOldMessages(compileContext.getCompileScope(), sessionId);
|
||||
if (compileContext.shouldUpdateProblemsView()) {
|
||||
final ProblemsView view = ProblemsViewImpl.SERVICE.getInstance(myProject);
|
||||
view.clearProgress();
|
||||
view.clearOldMessages(compileContext.getCompileScope(), sessionId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user