experimental: registry option to allow automake start even if some run configurations are active (requested for IDEA-141609)

This commit is contained in:
Eugene Zhuravlev
2015-06-18 10:50:27 +02:00
parent bc66e4de24
commit 1914f8ac06
2 changed files with 5 additions and 1 deletions
@@ -22,6 +22,7 @@ package com.intellij.compiler;
import com.intellij.openapi.components.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.registry.Registry;
import com.intellij.util.xmlb.XmlSerializerUtil;
@State(
@@ -60,6 +61,6 @@ public class CompilerWorkspaceConfiguration implements PersistentStateComponent<
}
public boolean allowAutoMakeWhileRunningApplication() {
return false;/*ALLOW_AUTOMAKE_WHILE_RUNNING_APPLICATION*/
return Registry.is("compiler.automake.allow.when.app.running", false);/*ALLOW_AUTOMAKE_WHILE_RUNNING_APPLICATION*/
}
}