mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] don't show fir tree in status bar without tweaking registry
^KTIJ-33790 fixed GitOrigin-RevId: 7ad1da95bb2290a654e0d9e4af0d130eec86c3aa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b9cae74651
commit
eb5e5efe60
+1
-1
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user