use regular Kotlin icon to represent Kotlin run configurations, leave old LAUNCH icon only for REPL
#KT-11041 Fixed
This commit is contained in:
@@ -38,7 +38,7 @@ class KotlinRunLineMarkerContributor : RunLineMarkerContributor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (detector.isMain(function)) {
|
if (detector.isMain(function)) {
|
||||||
return RunLineMarkerContributor.Info(KotlinIcons.LAUNCH, null, ExecutorAction.getActions(0))
|
return RunLineMarkerContributor.Info(KotlinIcons.SMALL_LOGO_13, null, ExecutorAction.getActions(0))
|
||||||
}
|
}
|
||||||
|
|
||||||
return null
|
return null
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public final class K2JSRunConfigurationType extends ConfigurationTypeBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public K2JSRunConfigurationType() {
|
public K2JSRunConfigurationType() {
|
||||||
super("K2JSConfigurationType", "Kotlin (JavaScript - experimental)", "Kotlin to JavaScript configuration", KotlinIcons.LAUNCH);
|
super("K2JSConfigurationType", "Kotlin (JavaScript - experimental)", "Kotlin to JavaScript configuration", KotlinIcons.SMALL_LOGO_13);
|
||||||
addFactory(new K2JSConfigurationFactory());
|
addFactory(new K2JSConfigurationFactory());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class JetRunConfigurationType extends ConfigurationTypeBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public JetRunConfigurationType() {
|
public JetRunConfigurationType() {
|
||||||
super("JetRunConfigurationType", KotlinLanguage.NAME, KotlinLanguage.NAME, KotlinIcons.LAUNCH);
|
super("JetRunConfigurationType", KotlinLanguage.NAME, KotlinLanguage.NAME, KotlinIcons.SMALL_LOGO_13);
|
||||||
addFactory(new JetRunConfigurationFactory(this));
|
addFactory(new JetRunConfigurationFactory(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ class KotlinStandaloneScriptRunConfigurationType : ConfigurationTypeBase(
|
|||||||
"KotlinStandaloneScriptRunConfigurationType",
|
"KotlinStandaloneScriptRunConfigurationType",
|
||||||
"Kotlin script",
|
"Kotlin script",
|
||||||
"Run Kotlin script",
|
"Run Kotlin script",
|
||||||
KotlinIcons.LAUNCH
|
KotlinIcons.SMALL_LOGO_13
|
||||||
) {
|
) {
|
||||||
init {
|
init {
|
||||||
addFactory(Factory(this))
|
addFactory(Factory(this))
|
||||||
|
|||||||
Reference in New Issue
Block a user