Files
openide/platform/projectModel-impl/resources/META-INF/ProjectModelImpl.xml
Mikhail Mazurkevich a3ddcc63a5 [workspace model] IJPL-797 intellij.platform.projectModel review internal API (workspaceModel package)
GitOrigin-RevId: f50f4cea39cfefecf13832d6ef468668ad0f7d60
2024-06-18 15:57:31 +00:00

101 lines
8.0 KiB
XML

<idea-plugin>
<extensionPoints>
<extensionPoint name="additionalLibraryRootsProvider" interface="com.intellij.openapi.roots.AdditionalLibraryRootsProvider"
dynamic="true"/>
<extensionPoint name="directoryIndexExcludePolicy" interface="com.intellij.openapi.roots.impl.DirectoryIndexExcludePolicy"
area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="projectExtension" interface="com.intellij.openapi.roots.ProjectExtension" area="IDEA_PROJECT" dynamic="true"/>
<extensionPoint name="workspaceModel.moduleExtensionBridgeFactory"
interface="com.intellij.workspaceModel.ide.legacyBridge.ModuleExtensionBridgeFactory"
dynamic="true"/>
<extensionPoint name="projectPathMacroContributor" interface="com.intellij.openapi.components.impl.ProjectWidePathMacroContributor"
dynamic="true"/>
<extensionPoint name="workspaceModel.facetContributor" interface="com.intellij.workspaceModel.ide.legacyBridge.WorkspaceFacetContributor"
dynamic="true"/>
<extensionPoint name="workspaceModel.fileIndexContributor"
interface="com.intellij.workspaceModel.core.fileIndex.WorkspaceFileIndexContributor"
dynamic="true"/>
<extensionPoint name="workspaceModel.entityLifecycleSupporter" dynamic="true"
interface="com.intellij.platform.backend.workspace.WorkspaceEntityLifecycleSupporter"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
<projectService serviceInterface="com.intellij.openapi.components.PathMacroManager"
serviceImplementation="com.intellij.openapi.components.impl.ProjectPathMacroManager"/>
<projectService serviceInterface="com.intellij.openapi.roots.impl.ModifiableModelCommitterService"
serviceImplementation="com.intellij.workspaceModel.ide.impl.legacyBridge.module.roots.ModifiableModelCommitterServiceBridge"/>
<applicationService serviceInterface="com.intellij.openapi.project.ProjectLocator"
serviceImplementation="com.intellij.openapi.project.ProjectLocatorImpl"/>
<applicationService serviceInterface="com.intellij.openapi.roots.libraries.LibraryTablesRegistrar"
serviceImplementation="com.intellij.openapi.roots.impl.libraries.LibraryTablesRegistrarImpl"/>
<applicationService serviceInterface="com.intellij.workspaceModel.ide.legacyBridge.SourceRootTypeRegistry"
serviceImplementation="com.intellij.workspaceModel.ide.impl.legacyBridge.module.roots.SourceRootTypeRegistryImpl"/>
<!-- Global Workspace Model -->
<applicationService serviceInterface="com.intellij.workspaceModel.ide.JpsGlobalModelSynchronizer"
serviceImplementation="com.intellij.workspaceModel.ide.impl.jps.serialization.JpsGlobalModelSynchronizerImpl"/>
<!-- Global Workspace Model Libraries -->
<applicationService serviceInterface="com.intellij.workspaceModel.ide.legacyBridge.GlobalLibraryTableBridge"
serviceImplementation="com.intellij.workspaceModel.ide.impl.legacyBridge.library.GlobalLibraryTableBridgeImpl"/>
<!-- Global or Custom Workspace Model Libraries -->
<workspace.bridgeInitializer
implementation="com.intellij.workspaceModel.ide.impl.legacyBridge.library.GlobalAndCustomLibraryTableBridgeInitializer"/>
<projectService serviceInterface="com.intellij.openapi.roots.FileIndexFacade"
serviceImplementation="com.intellij.openapi.roots.impl.ProjectFileIndexFacade"/>
<projectService serviceInterface="com.intellij.openapi.roots.ProjectFileIndex"
serviceImplementation="com.intellij.openapi.roots.impl.ProjectFileIndexImpl"/>
<projectService serviceInterface="com.intellij.platform.backend.workspace.WorkspaceModel"
serviceImplementation="com.intellij.workspaceModel.ide.impl.WorkspaceModelImpl"/>
<projectService serviceInterface="com.intellij.workspaceModel.ide.EntitiesOrphanage"
serviceImplementation="com.intellij.workspaceModel.ide.impl.EntitiesOrphanageImpl"/>
<projectService serviceInterface="com.intellij.workspaceModel.core.fileIndex.WorkspaceFileIndex"
serviceImplementation="com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl"/>
<backgroundPostStartupActivity implementation="com.intellij.workspaceModel.ide.impl.VirtualFileUrlsLazyInitializer"/>
<projectService serviceImplementation="com.intellij.workspaceModel.ide.impl.JpsProjectLoadingManagerImpl"
serviceInterface="com.intellij.workspaceModel.ide.JpsProjectLoadingManager"/>
<projectService serviceInterface="com.intellij.openapi.module.AutomaticModuleUnloader"
serviceImplementation="com.intellij.openapi.module.DummyAutomaticModuleUnloader"/>
<projectService serviceInterface="com.intellij.workspaceModel.ide.legacyBridge.ModuleDependencyIndex"
serviceImplementation="com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleDependencyIndexImpl"/>
<applicationService serviceInterface="com.intellij.openapi.roots.AdditionalLibraryRootsListenerHelper"
serviceImplementation="com.intellij.openapi.roots.impl.AdditionalLibraryRootsListenerHelperImpl"/>
<workspaceModel.preUpdateHandler implementation="com.intellij.workspaceModel.ide.impl.ModulePreUpdateHandler"/>
<projectService serviceInterface="com.intellij.openapi.roots.impl.DirectoryIndex"
serviceImplementation="com.intellij.openapi.roots.impl.DirectoryIndexImpl" preload="true"/>
<projectService serviceInterface="com.intellij.openapi.roots.SingleFileSourcesTracker"
serviceImplementation="com.intellij.openapi.roots.DefaultSingleFileSourcesTracker"/>
<moduleService serviceInterface="com.intellij.openapi.roots.ModuleFileIndex"
serviceImplementation="com.intellij.openapi.roots.impl.ModuleFileIndexImpl"/>
<workspaceModel.fileIndexContributor implementation="com.intellij.workspaceModel.core.fileIndex.impl.ContentRootFileIndexContributor"/>
<workspaceModel.fileIndexContributor implementation="com.intellij.workspaceModel.core.fileIndex.impl.SourceRootFileIndexContributor"/>
<workspaceModel.fileIndexContributor implementation="com.intellij.workspaceModel.core.fileIndex.impl.LibraryRootFileIndexContributor"/>
<workspaceModel.fileIndexContributor implementation="com.intellij.workspaceModel.core.fileIndex.impl.ExcludedRootFileIndexContributor"/>
<workspaceModel.fileIndexContributor implementation="com.intellij.workspaceModel.core.fileIndex.impl.UnloadedContentRootFileIndexContributor"/>
<registryKey key="ide.new.project.model.strict.mode.rbs" defaultValue="false" restartRequired="true"
description="Enable additional checks after replaceBySource and applyChangesFrom"/>
<registryKey key="ide.workspace.model.assertions.on.update" defaultValue="false" restartRequired="false"
description="Enable workspace model consistency checking after every update"/>
<postStartupActivity implementation="com.intellij.workspaceModel.ide.impl.WorkspaceEntitiesLifecycleActivity"/>
<postStartupActivity implementation="com.intellij.workspaceModel.ide.impl.OrphanageActivity"/>
<persistentFsConnectionListener implementation="com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexCleaner"/>
</extensions>
<projectListeners>
<listener class="com.intellij.workspaceModel.ide.impl.GlobalWorkspaceModelSynchronizerListener"
topic="com.intellij.platform.backend.workspace.WorkspaceModelChangeListener"/>
<listener class="com.intellij.workspaceModel.ide.impl.OrphanListener"
topic="com.intellij.platform.backend.workspace.WorkspaceModelChangeListener"/>
<listener class="com.intellij.workspaceModel.ide.impl.JpsProjectLoadedListenerImpl"
topic="com.intellij.workspaceModel.ide.JpsProjectLoadedListener"/>
</projectListeners>
</idea-plugin>