PY-29858 Make all Python run configurations dumb-aware

Python run configurations don't use any indices, so it's safe to update/invoke them while indexing. This change enables
Run / Debug / Profile / Run with Coverage / Concurrency Diagram.

GitOrigin-RevId: 4993c859983c336b88984033ae209fc221290e2a
This commit is contained in:
Andrey Vlasovskikh
2019-06-06 18:59:40 +03:00
committed by intellij-monorepo-bot
parent 796bc84014
commit f0c3fa13b0
4 changed files with 20 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ public final class RestRunConfigurationType implements ConfigurationType {
return "reference.dialogs.rundebug.docs";
}
@Override
public boolean isDumbAware() {
return true;
}
private static abstract class RestConfigurationFactory extends PythonConfigurationFactoryBase {
private final String myName;

View File

@@ -71,4 +71,9 @@ public final class PythonConfigurationType implements ConfigurationType {
public String getId() {
return "PythonConfigurationType";
}
@Override
public boolean isDumbAware() {
return true;
}
}

View File

@@ -75,6 +75,11 @@ public final class PythonTestConfigurationType extends ConfigurationTypeBase {
return "pythonTest";
}
@Override
public boolean isDumbAware() {
return true;
}
private static class PythonLegacyUnitTestConfigurationFactory extends PythonConfigurationFactoryBase {
protected PythonLegacyUnitTestConfigurationFactory(ConfigurationType configurationType) {
super(configurationType);

View File

@@ -47,4 +47,9 @@ public final class PyToxConfigurationType implements ConfigurationType {
public String getId() {
return ID;
}
@Override
public boolean isDumbAware() {
return true;
}
}