From 2b93b6f4ea27bbb50b5781ff8020943243336435 Mon Sep 17 00:00:00 2001 From: Vladimir Dolzhenko Date: Tue, 26 Nov 2024 15:40:23 +0100 Subject: [PATCH] [kotlin] Update the link to the K2 mode description #KTIJ-31579 Fixed (cherry picked from commit 5e1c0b9142c2b80e68b43ae0a86b83d58a808a9f) IJ-CR-150272 GitOrigin-RevId: 07c62221c67634cacc7e251f722fbf63a1f30d3a --- .../base/plugin/K2UnsupportedPluginsNotificationActivity.kt | 2 +- .../resources/messages/KotlinPreferencesBundle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/K2UnsupportedPluginsNotificationActivity.kt b/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/K2UnsupportedPluginsNotificationActivity.kt index 9197870c37f6..65c2d577ac16 100644 --- a/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/K2UnsupportedPluginsNotificationActivity.kt +++ b/plugins/kotlin/base/plugin/src/org/jetbrains/kotlin/idea/base/plugin/K2UnsupportedPluginsNotificationActivity.kt @@ -45,7 +45,7 @@ internal class K2UnsupportedPluginsNotificationActivity : ApplicationActivity { NotificationType.WARNING ) .addAction(NotificationAction.create(KotlinBasePluginBundle.message("action.about.k2.mode.text")) { - BrowserUtil.browse("https://blog.jetbrains.com/idea/2024/08/meet-the-renovated-kotlin-support-k2-mode/") + BrowserUtil.browse("https://kotl.in/k2-mode-blog-post/") }) .addAction(NotificationAction.create(KotlinBasePluginBundle.message("action.show.incompatible.plugins.text")) { PluginManagerConfigurable.showPluginConfigurable(/* project = */ null, incompatiblePlugins.map { it.pluginId }) diff --git a/plugins/kotlin/preferences/resources/messages/KotlinPreferencesBundle.properties b/plugins/kotlin/preferences/resources/messages/KotlinPreferencesBundle.properties index c36d26976699..ce308b4f172a 100644 --- a/plugins/kotlin/preferences/resources/messages/KotlinPreferencesBundle.properties +++ b/plugins/kotlin/preferences/resources/messages/KotlinPreferencesBundle.properties @@ -9,6 +9,6 @@ label.plugin.will.be.switched.after.ide.restart=Kotlin plugin will be switched t label.your.current.plugin=Current Kotlin Mode is {0} link.label.cancel.switching=Cancel switching checkbox.enable.k2.based.kotlin.plugin=Enable K2 mode -text.k2.based.kotlin.plugin=K2 mode brings stability and code analysis improvements. Read more here. +text.k2.based.kotlin.plugin=K2 mode brings stability and code analysis improvements. Read more here. text.k2.based.kotlin.plugin.vmoptions.are.not.writable.0.1.2=You are running a debug instance of {0}.
To switch to {1,choice,1#K1|2#K2} mode, please manually set the VM Option to
{2}{1,choice,1#false|2#true} kotlin.language.configurable=Kotlin