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*/
}
}
@@ -221,6 +221,9 @@ compiler.process.debug.port=-1
compiler.automake.trigger.delay=300
compiler.automake.trigger.delay.description=Delay in milliseconds before triggering auto-make in response to file system events
compiler.automake.allow.when.app.running=false
compiler.automake.allow.when.app.running.description=Allow auto-make to start even if developed application is currently running. Note that automatically started make may eventually delete some classes that are required by the application.
compiler.document.save.trigger.delay=1500
compiler.document.save.trigger.delay.description=Delay in milliseconds before triggering save in response to document changes