mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[auto-import] added registry key to disable auto-import
GitOrigin-RevId: 42a92f36d3e640fdb9d1b4bb46b6cc965e3bc79d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2fba026465
commit
0f6157d376
+3
-1
@@ -19,6 +19,7 @@ import com.intellij.openapi.observable.operations.CompoundParallelOperationTrace
|
||||
import com.intellij.openapi.observable.properties.AtomicBooleanProperty
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.Disposer
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
import com.intellij.util.LocalTimeCounter.currentTime
|
||||
import com.intellij.util.ui.update.MergingUpdateQueue
|
||||
import com.intellij.util.ui.update.Update
|
||||
@@ -99,7 +100,7 @@ class AutoImportProjectTracker(private val project: Project) : ExternalSystemPro
|
||||
|
||||
private fun refreshProject() {
|
||||
LOG.debug("Incremental project refresh")
|
||||
if (isDisabled.get()) return
|
||||
if (isDisabled.get() || Registry.`is`("external.system.auto.import.disabled")) return
|
||||
if (!projectChangeOperation.isOperationCompleted()) return
|
||||
for (projectData in projectDataMap.values) {
|
||||
val projectId = projectData.projectAware.projectId.readableName
|
||||
@@ -115,6 +116,7 @@ class AutoImportProjectTracker(private val project: Project) : ExternalSystemPro
|
||||
|
||||
private fun updateProjectNotification() {
|
||||
LOG.debug("Notification status update")
|
||||
if (isDisabled.get() || Registry.`is`("external.system.auto.import.disabled")) return
|
||||
val notificationAware = ProjectNotificationAware.getInstance(project)
|
||||
for ((projectId, data) in projectDataMap) {
|
||||
when (data.isUpToDate()) {
|
||||
|
||||
@@ -1354,6 +1354,8 @@ external.system.substitute.library.dependencies=false
|
||||
external.system.substitute.library.dependencies.description=Replace library dependencies with module dependencies imported from external build systems like Maven/Gradle
|
||||
external.system.configuration.import.enabled=true
|
||||
external.system.configuration.import.enabled.description=Enable import of IntelliJ specific settings from external build system
|
||||
external.system.auto.import.disabled=false
|
||||
external.system.auto.import.disabled.description=Disable auto-import build system model to idea
|
||||
|
||||
tfs.set.connection.timeout=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user