mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
GTW-5620 [rdct] disable LUX-backed all-in-one diff for RemDev
GitOrigin-RevId: 7d496446f8fa0ff3d13ed21ecb24db0711ba6900
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7efba6dda0
commit
e279b72308
@@ -1,10 +1,11 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.diff.tools.combined
|
||||
|
||||
import com.intellij.idea.AppMode
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
|
||||
object CombinedDiffRegistry {
|
||||
fun isEnabled(): Boolean = Registry.`is`("enable.combined.diff")
|
||||
fun isEnabled(): Boolean = Registry.`is`("enable.combined.diff") && !AppMode.isRemoteDevHost()
|
||||
|
||||
fun getPreloadedBlocksCount(): Int = Registry.intValue("combined.diff.visible.viewport.delta", 3, 1, 100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user