WIP plugins: tune defaults to make the feature invisible

GitOrigin-RevId: a30b14ef1537461c8a680776af5a1af88ce1f4bb
This commit is contained in:
Eugene Petrenko
2021-07-13 17:53:12 +00:00
committed by intellij-monorepo-bot
parent e5d61af45c
commit 60c04f896d
@@ -21,11 +21,12 @@ class PluginManagerConfigurableForOrg {
}
fun isPluginAllowed(isLocalPlugin: Boolean,
descriptor: IdeaPluginDescriptor) : Boolean {
if (isLocalPlugin) return true
return descriptor.pluginId.idString.hashCode() % 2 == 0
descriptor: IdeaPluginDescriptor
) : Boolean {
return true
//if (isLocalPlugin) return false
//return descriptor.pluginId.idString.hashCode() % 2 == 0
}
fun allowInstallFromDisk(): Boolean = false
fun allowInstallFromDisk(): Boolean = true
}