From 259f603ff89b810a876bfa5dc9a81b613b093873 Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 19 Mar 2019 18:02:59 +0300 Subject: [PATCH] idea: reuse PlatformLangComponents.xml instead of using custom IdeaComponents.xml in IDEA Components which were present in IdeaComponents and not present in PlatformLangComponents are now registered in JavaIdePlugin directly. PlatformVcsDetector is the only component which is included into PlatformLangComponents but wasn't included into IdeaComponents, but adding it to IntelliJ IDEA shouldn't do any harm. This is a preliminary step to reuse PlatformLangPlugin.xml in IntelliJ IDEA as well to make all IDEs consistent and avoid duplication. This is also needed to properly extract Java support to a separate plugin (IDEA-195719). --- resources/src/META-INF/JavaIdePlugin.xml | 10 +++- .../src/componentSets/IdeaComponents.xml | 50 ------------------- 2 files changed, 9 insertions(+), 51 deletions(-) delete mode 100644 resources/src/componentSets/IdeaComponents.xml diff --git a/resources/src/META-INF/JavaIdePlugin.xml b/resources/src/META-INF/JavaIdePlugin.xml index a46c334e0de5..71b6e2d04d07 100644 --- a/resources/src/META-INF/JavaIdePlugin.xml +++ b/resources/src/META-INF/JavaIdePlugin.xml @@ -26,7 +26,9 @@ - + + + @@ -207,6 +209,9 @@ + + com.intellij.internal.statistic.updater.StatisticsJobsScheduler + com.intellij.openapi.projectRoots.impl.DefaultJdkConfigurator @@ -214,6 +219,9 @@ + + com.intellij.openapi.vcs.impl.ModuleVcsDetector + com.intellij.framework.detection.impl.FrameworkDetectionManager diff --git a/resources/src/componentSets/IdeaComponents.xml b/resources/src/componentSets/IdeaComponents.xml deleted file mode 100644 index f6dbe1aaed48..000000000000 --- a/resources/src/componentSets/IdeaComponents.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - com.intellij.openapi.util.registry.RegistryState - - - com.intellij.internal.statistic.updater.StatisticsJobsScheduler - - - com.intellij.openapi.project.impl.ProjectStoreClassProvider - com.intellij.configurationStore.PlatformLangProjectStoreClassProvider - - - - - - - - - - - - - - - - - com.intellij.platform.PlatformProjectStarter - - - - - - com.intellij.openapi.vcs.impl.ModuleVcsDetector - - - - com.intellij.profile.codeInspection.ProjectInspectionProfileManager - com.intellij.profile.codeInspection.ProjectInspectionProfileManager - - - - - -