diff --git a/plugins/kotlin/base/plugin/resources/messages/KotlinBasePluginBundle.properties b/plugins/kotlin/base/plugin/resources/messages/KotlinBasePluginBundle.properties index c312e2de5b7d..fb0893ef6471 100644 --- a/plugins/kotlin/base/plugin/resources/messages/KotlinBasePluginBundle.properties +++ b/plugins/kotlin/base/plugin/resources/messages/KotlinBasePluginBundle.properties @@ -17,4 +17,5 @@ kotlin.dist.downloading.failed=Kotlin dist downloading failed configuration.feature.text.new.java.to.kotlin.converter=New Java to Kotlin Converter kotlin.plugin.kind.k1=K1-based plugin -kotlin.plugin.kind.k2=K2-based plugin (Experimental) \ No newline at end of file +kotlin.plugin.kind.k2=K2-based plugin (Experimental) +kotlin.plugin.kind.text=Kotlin Plugin: {0} \ No newline at end of file diff --git a/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/KotlinPluginKindAboutPopupDescriptionProvider.kt b/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/KotlinPluginKindAboutPopupDescriptionProvider.kt new file mode 100644 index 000000000000..38cbb2345ffc --- /dev/null +++ b/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/KotlinPluginKindAboutPopupDescriptionProvider.kt @@ -0,0 +1,19 @@ +// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package org.jetbrains.kotlin.idea.base.plugin + +import com.intellij.ide.AboutPopupDescriptionProvider +import com.intellij.openapi.util.NlsContexts.DetailedDescription + +internal class KotlinPluginKindAboutPopupDescriptionProvider : AboutPopupDescriptionProvider { + override fun getDescription(): @DetailedDescription String? { + val pluginKind = KotlinPluginKindProvider.currentPluginKind + return when (pluginKind) { + KotlinPluginKind.FIR_PLUGIN -> { + KotlinBasePluginBundle.message("kotlin.plugin.kind.text", pluginKind.getPluginKindDescription()) + } + KotlinPluginKind.FE10_PLUGIN -> { + null + } + } + } +} \ No newline at end of file diff --git a/plugins/kotlin/plugin/common/resources/META-INF/kotlin-core.xml b/plugins/kotlin/plugin/common/resources/META-INF/kotlin-core.xml index a50f642f7c71..4fa105307e30 100644 --- a/plugins/kotlin/plugin/common/resources/META-INF/kotlin-core.xml +++ b/plugins/kotlin/plugin/common/resources/META-INF/kotlin-core.xml @@ -64,6 +64,7 @@ +