mark JS features as experimental in the UI
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
</action>
|
||||
|
||||
<action id="ConfigureKotlinJsInProject" class="org.jetbrains.kotlin.idea.actions.ConfigureKotlinJsInProjectAction"
|
||||
text="Configure Kotlin (JavaScript) in Project">
|
||||
text="Configure Kotlin (JavaScript - experimental) in Project">
|
||||
<add-to-group group-id="KotlinToolsGroup"/>
|
||||
</action>
|
||||
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ public class KotlinJavascriptMavenConfigurator extends KotlinMavenConfigurator {
|
||||
private static final String JS_GOAL = "js";
|
||||
private static final String JS_TEST_GOAL = "test-js";
|
||||
private static final String JS_EXECUTION_ID = "js";
|
||||
private static final String PRESENTABLE_TEXT = "JavaScript Maven";
|
||||
private static final String PRESENTABLE_TEXT = "JavaScript Maven - experimental";
|
||||
|
||||
public KotlinJavascriptMavenConfigurator() {
|
||||
super(STD_LIB_ID, NAME, PRESENTABLE_TEXT);
|
||||
|
||||
@@ -48,7 +48,7 @@ public class KotlinJsModuleConfigurator extends KotlinWithLibraryConfigurator {
|
||||
@NotNull
|
||||
@Override
|
||||
public String getPresentableText() {
|
||||
return JavaScript.FULL_NAME;
|
||||
return JavaScript.FULL_NAME + " - experimental";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -41,7 +41,7 @@ public class JSFrameworkType extends FrameworkTypeEx {
|
||||
@NotNull
|
||||
@Override
|
||||
public String getPresentableName() {
|
||||
return "Kotlin (JavaScript)";
|
||||
return "Kotlin (JavaScript - experimental)";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -33,7 +33,7 @@ public class KotlinTemplatesFactory : ProjectTemplatesFactory() {
|
||||
|
||||
override fun createTemplates(group: String?, context: WizardContext?) =
|
||||
arrayOf(
|
||||
BuilderBasedTemplate(KotlinModuleBuilder(JvmPlatform, "Kotlin - JVM", "Kotlin module for JVM target")),
|
||||
BuilderBasedTemplate(KotlinModuleBuilder(JsPlatform, "Kotlin - JavaScript", "Kotlin module for JavaScript target"))
|
||||
BuilderBasedTemplate(KotlinModuleBuilder(JvmPlatform, "Kotlin (JVM)", "Kotlin module for JVM target")),
|
||||
BuilderBasedTemplate(KotlinModuleBuilder(JsPlatform, "Kotlin (JavaScript - experimental)", "Kotlin module for JavaScript target"))
|
||||
)
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ public final class K2JSRunConfigurationType extends ConfigurationTypeBase {
|
||||
}
|
||||
|
||||
public K2JSRunConfigurationType() {
|
||||
super("K2JSConfigurationType", "Kotlin (JavaScript)", "Kotlin to JavaScript configuration", JetIcons.LAUNCH);
|
||||
super("K2JSConfigurationType", "Kotlin (JavaScript - experimental)", "Kotlin to JavaScript configuration", JetIcons.LAUNCH);
|
||||
addFactory(new K2JSConfigurationFactory());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user