OPENIDE #18 Removing Ultimate recommendations

(cherry picked from commit 51b3d30ceafcc14c225dfef7710f6e6945f5c198)

(cherry picked from commit 51c6120cfb)

(cherry picked from commit 537434b1b5)
This commit is contained in:
Nikita Iarychenko
2024-11-19 14:49:07 +04:00
parent cc90d4b476
commit 672701e9a0
3 changed files with 3 additions and 7 deletions

View File

@@ -37,7 +37,7 @@
<moduleBuilder builderClass="com.intellij.ide.ultimatepromo.PromoSpringModuleBuilder"/>
<registryKey key="idea.ultimate.features.hints.enabled"
defaultValue="true"
defaultValue="false"
description="IntelliJ IDEA Ultimate features in UI"/>
</extensions>

View File

@@ -659,7 +659,7 @@ fun disableTryUltimate(project: Project) = setTryUltimateKey(project, true)
fun enableTryUltimate(project: Project) = setTryUltimateKey(project, false)
@ApiStatus.Internal
fun tryUltimateIsDisabled(): Boolean = PropertiesComponent.getInstance().getBoolean(TRY_ULTIMATE_DISABLED_KEY)
fun tryUltimateIsDisabled() : Boolean = true
@ApiStatus.Internal
fun tryUltimate(

View File

@@ -19,11 +19,7 @@ import org.jetbrains.annotations.ApiStatus
private const val IGNORE_ULTIMATE_EDITION = "promo.ignore.suggested.ide"
internal var isIgnoreIdeSuggestion: Boolean
get() = PropertiesComponent.getInstance().isTrueValue(IGNORE_ULTIMATE_EDITION)
|| PlatformUtils.isJetBrainsClient()
|| (!PlatformUtils.isCommunityEdition() && PluginManagerCore.isDisabled(PluginManagerCore.ULTIMATE_PLUGIN_ID))
set(value) = PropertiesComponent.getInstance().setValue(IGNORE_ULTIMATE_EDITION, value)
internal var isIgnoreIdeSuggestion: Boolean = true
@get:Deprecated("Use `getPluginSuggestionNotificationGroup()`")
@get:ApiStatus.ScheduledForRemoval