[kotlin] don't show fir tree in status bar without tweaking registry

^KTIJ-33790 fixed

GitOrigin-RevId: 7ad1da95bb2290a654e0d9e4af0d130eec86c3aa
This commit is contained in:
Anna Kozlova
2025-04-12 14:41:31 +00:00
committed by intellij-monorepo-bot
parent b9cae74651
commit eb5e5efe60
2 changed files with 2 additions and 2 deletions
@@ -30,7 +30,7 @@ private class FirStatusBarWidgetFactory : StatusBarWidgetFactory {
override fun getDisplayName(): String = DISPLAY_NAME
override fun isAvailable(project: Project): Boolean {
return KotlinPluginModeProvider.isK2Mode() && Registry.`is`(REGISTRY_KEY, /* defaultValue = */ true)
return KotlinPluginModeProvider.isK2Mode() && Registry.`is`(REGISTRY_KEY, /* defaultValue = */ false)
}
override fun createWidget(project: Project): StatusBarWidget = Widget(project)
@@ -104,7 +104,7 @@
<registryKey key="kotlin.k2.show.fir.statusbar.icon"
description="Show K2 mode tree icon in the status bar"
defaultValue="true"
defaultValue="false"
restartRequired="false"/>
<!-- shared completion -->