mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WIP plugins: tune defaults to make the feature invisible
GitOrigin-RevId: a30b14ef1537461c8a680776af5a1af88ce1f4bb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e5d61af45c
commit
60c04f896d
+6
-5
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user