From 9d4751f238c147b1e50b16f386e19994ed165cea Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Thu, 18 Jan 2024 05:52:28 +0100 Subject: [PATCH] [python, ds, jupyter]: Migrate Python support to V2 Layout: JPS modules `intellij.python.community` `intellij.python.community.impl` `intellij.python.parser` `intellij.python.psi` `intellij.python.psi.impl` `intellij.python.ast` use package `com.jetbrains.python` and go to `intellij.python.community.impl` v2 module JPS module `intellij.python` uses package `com.intellij.python.pro` and goes to `intellij.python/pro` v2 module Both v2 modules (along with lots of others) come with `PythonId` (prof) or `PythonCore` (community) plugins DS bundles `intellij.python.community.impl` Idea and other Mini IDEs get `PythonCore` or `PythonId` plugin that bundle modules for Idea and mini IDEs GitOrigin-RevId: 98f418c52d90d51b9adf3250c561f2c36c767e2d --- .idea/misc.xml | 4 +- .idea/modules.xml | 3 ++ ...ugin.xml => intellij.commandInterface.xml} | 12 ++++-- .../resources/META-INF/IdeaPlugin.xml | 4 +- .../python/PythonCommunityPluginModules.kt | 2 + .../python/resources/intellij.sh.python.xml | 1 + .../intellij.python.langInjection.xml | 1 + .../pycharm/PyCharmCommunityProperties.kt | 1 + ...j.pycharm.community.ide.impl.promotion.iml | 20 ++++++++++ .../PyCharmProfessionalAdvertiser.java | 5 ++- ...PyCharmProfessionalAdvertiserSettings.java | 4 +- .../community/ide/impl/promotion/actions.kt | 0 .../ide/impl/promotion/configurables.kt | 0 .../ide/impl/promotion/djangoProject.kt | 0 .../ide/impl/promotion/featurePages.kt | 0 .../ide/impl/promotion/newFileActions.kt | 0 .../ide/impl/promotion/statistics.kt | 0 ....pycharm.community.ide.impl.promotion.xml} | 31 ++++++++++----- .../pycharm-community-only-customization.xml | 10 ----- ...ycharm-v2-customization-plugin-include.xml | 12 ++++++ ...> intellij.pycharm.community.ide.impl.xml} | 38 +++++++++++-------- python/ide/resources/META-INF/plugin.xml | 20 +++++----- ...tellij.pycharm.community.customization.iml | 1 + ...j.python.community.impl.community_only.iml | 13 +++++++ .../CommunityPydevConsoleRunnerFactory.kt | 2 +- ...j.python.community.impl.community_only.xml | 11 ++++++ ...intellij.python.community.plugin.impl.xml} | 9 ++++- .../pluginCore/resources/META-INF/plugin.xml | 33 +++++++--------- ...intellij.python.community.plugin.java.xml} | 12 +++--- .../META-INF/python-plugin-datagrip.xml | 3 -- .../META-INF/python-plugin-goland.xml | 4 -- .../META-INF/python-plugin-rider.xml | 8 ---- .../META-INF/python-plugin-rustrover.xml | 3 -- ...ij.python.community.plugin.minor.rider.iml | 11 ++++++ ...ij.python.community.plugin.minor.rider.xml | 21 ++++++++++ ...ntellij.python.community.plugin.minor.xml} | 15 ++++++-- .../resources/intellij.python.copyright.xml | 1 + .../intellij.python.featuresTrainer.xml | 1 + .../resources/intellij.python.grazie.xml | 1 + .../resources/intellij.python.markdown.xml | 1 + .../intellij.python.reStructuredText.xml | 16 +++++--- .../resources/intellij.python.terminal.xml | 1 + python/src/META-INF/python-core-community.xml | 7 ---- .../python-v2-core-plugin-include.xml | 27 +++++++++++++ ...intellij.python.community.impl.poetry.xml} | 3 +- ...xml => intellij.python.community.impl.xml} | 12 +++--- python/testSrc/META-INF/PyCharmCorePlugin.xml | 13 ------- 47 files changed, 260 insertions(+), 137 deletions(-) rename commandInterface/src/{META-INF/command-line-plugin.xml => intellij.commandInterface.xml} (79%) create mode 100644 python/ide/impl/intellij.pycharm.community.ide.impl.promotion/intellij.pycharm.community.ide.impl.promotion.iml rename python/ide/impl/{src/com/intellij/pycharm/community/ide/impl => intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion}/PyCharmProfessionalAdvertiser.java (96%) rename python/ide/impl/{src/com/intellij/pycharm/community/ide/impl => intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion}/PyCharmProfessionalAdvertiserSettings.java (79%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/actions.kt (100%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/configurables.kt (100%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/djangoProject.kt (100%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/featurePages.kt (100%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/newFileActions.kt (100%) rename python/ide/impl/{ => intellij.pycharm.community.ide.impl.promotion}/src/com/intellij/pycharm/community/ide/impl/promotion/statistics.kt (100%) rename python/ide/impl/{resources/META-INF/pycharm-community-promo.xml => intellij.pycharm.community.ide.impl.promotion/src/intellij.pycharm.community.ide.impl.promotion.xml} (77%) delete mode 100644 python/ide/impl/resources/META-INF/pycharm-community-only-customization.xml create mode 100644 python/ide/impl/resources/META-INF/pycharm-v2-customization-plugin-include.xml rename python/ide/impl/resources/{META-INF/pycharm-community-and-pro-customization.xml => intellij.pycharm.community.ide.impl.xml} (82%) create mode 100644 python/intellij.python.community.impl.community_only/intellij.python.community.impl.community_only.iml rename python/{src/com/jetbrains/python/community => intellij.python.community.impl.community_only/src/com/intellij/python/community/impl/community_only}/CommunityPydevConsoleRunnerFactory.kt (83%) create mode 100644 python/intellij.python.community.impl.community_only/src/intellij.python.community.impl.community_only.xml rename python/pluginCore/impl/resources/{META-INF/python-community-plugin-core.xml => intellij.python.community.plugin.impl.xml} (77%) rename python/pluginJava/{META-INF/python-community-plugin-java.xml => intellij.python.community.plugin.java.xml} (86%) delete mode 100644 python/pluginMinor/META-INF/python-plugin-datagrip.xml delete mode 100644 python/pluginMinor/META-INF/python-plugin-goland.xml delete mode 100644 python/pluginMinor/META-INF/python-plugin-rider.xml delete mode 100644 python/pluginMinor/META-INF/python-plugin-rustrover.xml create mode 100644 python/pluginMinor/intellij.python.community.plugin.minor.rider/intellij.python.community.plugin.minor.rider.iml create mode 100644 python/pluginMinor/intellij.python.community.plugin.minor.rider/src/intellij.python.community.plugin.minor.rider.xml rename python/pluginMinor/{META-INF/python-community-plugin-minor.xml => intellij.python.community.plugin.minor.xml} (54%) delete mode 100644 python/src/META-INF/python-core-community.xml create mode 100644 python/src/META-INF/python-v2-core-plugin-include.xml rename python/src/{META-INF/PyPoetryInclude.xml => intellij.python.community.impl.poetry.xml} (82%) rename python/src/{META-INF/python-core-common.xml => intellij.python.community.impl.xml} (99%) delete mode 100644 python/testSrc/META-INF/PyCharmCorePlugin.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index d8626df0490f..a44da86f3389 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ + - @@ -33,7 +33,7 @@ http://www.w3.org/1999/xhtml - + diff --git a/.idea/modules.xml b/.idea/modules.xml index 7ab0191906c4..87584faf9f76 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -1116,17 +1116,20 @@ + + + diff --git a/commandInterface/src/META-INF/command-line-plugin.xml b/commandInterface/src/intellij.commandInterface.xml similarity index 79% rename from commandInterface/src/META-INF/command-line-plugin.xml rename to commandInterface/src/intellij.commandInterface.xml index 56936c4c39d3..17c3b8f35185 100644 --- a/commandInterface/src/META-INF/command-line-plugin.xml +++ b/commandInterface/src/intellij.commandInterface.xml @@ -1,5 +1,8 @@ - - + + + + + + diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.kt index 1fde0449f291..22954952ae79 100644 --- a/platform/build-scripts/src/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.kt +++ b/platform/build-scripts/src/org/jetbrains/intellij/build/python/PythonCommunityPluginModules.kt @@ -20,6 +20,7 @@ object PythonCommunityPluginModules { "intellij.python.community.core.impl", "intellij.python.pydev", "intellij.python.community.impl", + "intellij.python.community.impl.community_only", "intellij.python.langInjection", "intellij.python.copyright", "intellij.python.terminal", @@ -37,6 +38,7 @@ object PythonCommunityPluginModules { fun pythonCommunityPluginLayout(body: ((PluginLayout.PluginLayoutSpec) -> Unit)? = null): PluginLayout { val communityOnlyModules = persistentListOf( "intellij.python.community.plugin.minor", + "intellij.python.community.plugin.minor.rider", ) return pythonPlugin("intellij.python.community.plugin", pythonCommunityName, COMMUNITY_MODULES + communityOnlyModules) { spec -> body?.invoke(spec) diff --git a/plugins/sh/python/resources/intellij.sh.python.xml b/plugins/sh/python/resources/intellij.sh.python.xml index 10b5b2e950c6..457b4a8683ff 100644 --- a/plugins/sh/python/resources/intellij.sh.python.xml +++ b/plugins/sh/python/resources/intellij.sh.python.xml @@ -1,6 +1,7 @@ + diff --git a/python/IntelliLang-python/resources/intellij.python.langInjection.xml b/python/IntelliLang-python/resources/intellij.python.langInjection.xml index a7b041994a49..b51a085a86bf 100644 --- a/python/IntelliLang-python/resources/intellij.python.langInjection.xml +++ b/python/IntelliLang-python/resources/intellij.python.langInjection.xml @@ -1,6 +1,7 @@ + diff --git a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt index b7e0f08050f5..a18c97686120 100644 --- a/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt +++ b/python/build/src/org/jetbrains/intellij/build/pycharm/PyCharmCommunityProperties.kt @@ -44,6 +44,7 @@ class PyCharmCommunityProperties(private val communityHome: Path) : PyCharmPrope PluginLayout.plugin(listOf( "intellij.pycharm.community.customization", "intellij.pycharm.community.ide.impl", + "intellij.pycharm.community.ide.impl.promotion", "intellij.jupyter.viewOnly", "intellij.jupyter.core" ) diff --git a/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/intellij.pycharm.community.ide.impl.promotion.iml b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/intellij.pycharm.community.ide.impl.promotion.iml new file mode 100644 index 000000000000..fa6b9cae3267 --- /dev/null +++ b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/intellij.pycharm.community.ide.impl.promotion.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiser.java b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiser.java similarity index 96% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiser.java rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiser.java index 2e86a1c831b6..f62d7693e8bc 100644 --- a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiser.java +++ b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiser.java @@ -1,5 +1,5 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -package com.intellij.pycharm.community.ide.impl; +package com.intellij.pycharm.community.ide.impl.promotion; import com.intellij.ide.BrowserUtil; import com.intellij.lang.annotation.AnnotationHolder; @@ -12,6 +12,7 @@ import com.intellij.openapi.util.NlsContexts.NotificationTitle; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; +import com.intellij.pycharm.community.ide.impl.PyCharmCommunityCustomizationBundle; import com.jetbrains.python.PyCellUtil; import com.jetbrains.python.psi.PyFile; import com.jetbrains.python.psi.impl.PyPsiUtils; @@ -20,7 +21,7 @@ import org.jetbrains.annotations.Nullable; import java.util.Objects; -public final class PyCharmProfessionalAdvertiser implements Annotator { +final class PyCharmProfessionalAdvertiser implements Annotator { private static final NotificationGroup BALLOON_NOTIFICATIONS = NotificationGroupManager.getInstance().getNotificationGroup("PyCharm Professional Advertiser"); @Override diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiserSettings.java b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiserSettings.java similarity index 79% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiserSettings.java rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiserSettings.java index 415fbf32a31d..11b81a476ac1 100644 --- a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/PyCharmProfessionalAdvertiserSettings.java +++ b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/PyCharmProfessionalAdvertiserSettings.java @@ -1,5 +1,5 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -package com.intellij.pycharm.community.ide.impl; +package com.intellij.pycharm.community.ide.impl.promotion; import com.intellij.openapi.components.PersistentStateComponent; import com.intellij.openapi.components.State; @@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @State(name = "PyCharmProfessionalAdvertiser") -public class PyCharmProfessionalAdvertiserSettings implements PersistentStateComponent { +class PyCharmProfessionalAdvertiserSettings implements PersistentStateComponent { public boolean shown = false; @Nullable diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/actions.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/actions.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/actions.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/actions.kt diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/configurables.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/configurables.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/configurables.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/configurables.kt diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/djangoProject.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/djangoProject.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/djangoProject.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/djangoProject.kt diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/featurePages.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/featurePages.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/featurePages.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/featurePages.kt diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/newFileActions.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/newFileActions.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/newFileActions.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/newFileActions.kt diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/statistics.kt b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/statistics.kt similarity index 100% rename from python/ide/impl/src/com/intellij/pycharm/community/ide/impl/promotion/statistics.kt rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/com/intellij/pycharm/community/ide/impl/promotion/statistics.kt diff --git a/python/ide/impl/resources/META-INF/pycharm-community-promo.xml b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/intellij.pycharm.community.ide.impl.promotion.xml similarity index 77% rename from python/ide/impl/resources/META-INF/pycharm-community-promo.xml rename to python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/intellij.pycharm.community.ide.impl.promotion.xml index 57c372e7d466..694d413b8252 100644 --- a/python/ide/impl/resources/META-INF/pycharm-community-promo.xml +++ b/python/ide/impl/intellij.pycharm.community.ide.impl.promotion/src/intellij.pycharm.community.ide.impl.promotion.xml @@ -1,26 +1,39 @@ - - - messages.PyBundle + + + + + + + + + + + + + + + + + icon="AllIcons.Ultimate.PycharmLock"/> + icon="AllIcons.Ultimate.PycharmLock"/> + icon="AllIcons.Ultimate.PycharmLock"/> + icon="AllIcons.Ultimate.PycharmLock"/> + icon="AllIcons.Ultimate.PycharmLock"/> @@ -78,4 +91,4 @@ - \ No newline at end of file + diff --git a/python/ide/impl/resources/META-INF/pycharm-community-only-customization.xml b/python/ide/impl/resources/META-INF/pycharm-community-only-customization.xml deleted file mode 100644 index 3400ba745145..000000000000 --- a/python/ide/impl/resources/META-INF/pycharm-community-only-customization.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/python/ide/impl/resources/META-INF/pycharm-v2-customization-plugin-include.xml b/python/ide/impl/resources/META-INF/pycharm-v2-customization-plugin-include.xml new file mode 100644 index 000000000000..50847d57a484 --- /dev/null +++ b/python/ide/impl/resources/META-INF/pycharm-v2-customization-plugin-include.xml @@ -0,0 +1,12 @@ + + + + + messages.PyBundle + + + + + + + \ No newline at end of file diff --git a/python/ide/impl/resources/META-INF/pycharm-community-and-pro-customization.xml b/python/ide/impl/resources/intellij.pycharm.community.ide.impl.xml similarity index 82% rename from python/ide/impl/resources/META-INF/pycharm-community-and-pro-customization.xml rename to python/ide/impl/resources/intellij.pycharm.community.ide.impl.xml index 49ddc73b5e52..161bb4625fc4 100644 --- a/python/ide/impl/resources/META-INF/pycharm-community-and-pro-customization.xml +++ b/python/ide/impl/resources/intellij.pycharm.community.ide.impl.xml @@ -1,13 +1,14 @@ - - - messages.PyBundle + + + + + + - - - - + @@ -42,7 +43,8 @@ - + + bundle="messages.PyCharmCommunityCustomizationBundle" key="notification.group.pro.advertiser"/> - + - - + + @@ -93,10 +98,11 @@ - + - \ No newline at end of file + diff --git a/python/ide/resources/META-INF/plugin.xml b/python/ide/resources/META-INF/plugin.xml index cd54e0893519..7110ef0d610d 100644 --- a/python/ide/resources/META-INF/plugin.xml +++ b/python/ide/resources/META-INF/plugin.xml @@ -1,21 +1,21 @@ - + PyCharm Community Customization com.jetbrains.pycharm.community.customization JetBrains messages.ActionsBundle - com.intellij.modules.pycharm.community - com.intellij.modules.python + + + + - - - + - - + + + + - - diff --git a/python/intellij.pycharm.community.customization.iml b/python/intellij.pycharm.community.customization.iml index 181d2aed7b4b..b8263de0640a 100644 --- a/python/intellij.pycharm.community.customization.iml +++ b/python/intellij.pycharm.community.customization.iml @@ -10,5 +10,6 @@ + \ No newline at end of file diff --git a/python/intellij.python.community.impl.community_only/intellij.python.community.impl.community_only.iml b/python/intellij.python.community.impl.community_only/intellij.python.community.impl.community_only.iml new file mode 100644 index 000000000000..aa57b9fd6e35 --- /dev/null +++ b/python/intellij.python.community.impl.community_only/intellij.python.community.impl.community_only.iml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/python/src/com/jetbrains/python/community/CommunityPydevConsoleRunnerFactory.kt b/python/intellij.python.community.impl.community_only/src/com/intellij/python/community/impl/community_only/CommunityPydevConsoleRunnerFactory.kt similarity index 83% rename from python/src/com/jetbrains/python/community/CommunityPydevConsoleRunnerFactory.kt rename to python/intellij.python.community.impl.community_only/src/com/intellij/python/community/impl/community_only/CommunityPydevConsoleRunnerFactory.kt index 4cb80836a273..055157d2c983 100644 --- a/python/src/com/jetbrains/python/community/CommunityPydevConsoleRunnerFactory.kt +++ b/python/intellij.python.community.impl.community_only/src/com/intellij/python/community/impl/community_only/CommunityPydevConsoleRunnerFactory.kt @@ -1,5 +1,5 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -package com.jetbrains.python.community +package com.intellij.python.community.impl.community_only import com.jetbrains.python.console.PydevConsoleRunnerFactory diff --git a/python/intellij.python.community.impl.community_only/src/intellij.python.community.impl.community_only.xml b/python/intellij.python.community.impl.community_only/src/intellij.python.community.impl.community_only.xml new file mode 100644 index 000000000000..ff05154d9e56 --- /dev/null +++ b/python/intellij.python.community.impl.community_only/src/intellij.python.community.impl.community_only.xml @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/python/pluginCore/impl/resources/META-INF/python-community-plugin-core.xml b/python/pluginCore/impl/resources/intellij.python.community.plugin.impl.xml similarity index 77% rename from python/pluginCore/impl/resources/META-INF/python-community-plugin-core.xml rename to python/pluginCore/impl/resources/intellij.python.community.plugin.impl.xml index c6fb9e09cf23..acefb386d6d8 100644 --- a/python/pluginCore/impl/resources/META-INF/python-community-plugin-core.xml +++ b/python/pluginCore/impl/resources/intellij.python.community.plugin.impl.xml @@ -1,4 +1,11 @@ - + + + + + + + + - + + + PythonCore Python Community Edition @@ -16,25 +17,17 @@ The Python plug-in provides smart editing for Python scripts. The feature set of JetBrains - com.intellij.modules.python-core-capable + + + - - - - com.intellij.java - com.intellij.modules.clion - com.intellij.modules.rider - com.intellij.modules.datagrip - com.intellij.modules.go - com.intellij.modules.rustrover + + - - - - - - - + + + + diff --git a/python/pluginJava/META-INF/python-community-plugin-java.xml b/python/pluginJava/intellij.python.community.plugin.java.xml similarity index 86% rename from python/pluginJava/META-INF/python-community-plugin-java.xml rename to python/pluginJava/intellij.python.community.plugin.java.xml index 82a38b97b8cd..52841e908546 100644 --- a/python/pluginJava/META-INF/python-community-plugin-java.xml +++ b/python/pluginJava/intellij.python.community.plugin.java.xml @@ -1,8 +1,10 @@ - - - - + + + + + + + diff --git a/python/pluginMinor/META-INF/python-plugin-datagrip.xml b/python/pluginMinor/META-INF/python-plugin-datagrip.xml deleted file mode 100644 index cfd2f0eeebda..000000000000 --- a/python/pluginMinor/META-INF/python-plugin-datagrip.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/python/pluginMinor/META-INF/python-plugin-goland.xml b/python/pluginMinor/META-INF/python-plugin-goland.xml deleted file mode 100644 index 7a1dc30ea3b9..000000000000 --- a/python/pluginMinor/META-INF/python-plugin-goland.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/python/pluginMinor/META-INF/python-plugin-rider.xml b/python/pluginMinor/META-INF/python-plugin-rider.xml deleted file mode 100644 index 3f4cc08c9022..000000000000 --- a/python/pluginMinor/META-INF/python-plugin-rider.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - diff --git a/python/pluginMinor/META-INF/python-plugin-rustrover.xml b/python/pluginMinor/META-INF/python-plugin-rustrover.xml deleted file mode 100644 index cfd2f0eeebda..000000000000 --- a/python/pluginMinor/META-INF/python-plugin-rustrover.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/python/pluginMinor/intellij.python.community.plugin.minor.rider/intellij.python.community.plugin.minor.rider.iml b/python/pluginMinor/intellij.python.community.plugin.minor.rider/intellij.python.community.plugin.minor.rider.iml new file mode 100644 index 000000000000..c90834f2d607 --- /dev/null +++ b/python/pluginMinor/intellij.python.community.plugin.minor.rider/intellij.python.community.plugin.minor.rider.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/python/pluginMinor/intellij.python.community.plugin.minor.rider/src/intellij.python.community.plugin.minor.rider.xml b/python/pluginMinor/intellij.python.community.plugin.minor.rider/src/intellij.python.community.plugin.minor.rider.xml new file mode 100644 index 000000000000..75b92aad438d --- /dev/null +++ b/python/pluginMinor/intellij.python.community.plugin.minor.rider/src/intellij.python.community.plugin.minor.rider.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + diff --git a/python/pluginMinor/META-INF/python-community-plugin-minor.xml b/python/pluginMinor/intellij.python.community.plugin.minor.xml similarity index 54% rename from python/pluginMinor/META-INF/python-community-plugin-minor.xml rename to python/pluginMinor/intellij.python.community.plugin.minor.xml index fcaf5832a6a2..ee3e999b3622 100644 --- a/python/pluginMinor/META-INF/python-community-plugin-minor.xml +++ b/python/pluginMinor/intellij.python.community.plugin.minor.xml @@ -1,7 +1,16 @@ - - + + + + + + + + + - + + + + diff --git a/python/python-features-trainer/resources/intellij.python.featuresTrainer.xml b/python/python-features-trainer/resources/intellij.python.featuresTrainer.xml index 5e4ce566dd03..e7df23368feb 100644 --- a/python/python-features-trainer/resources/intellij.python.featuresTrainer.xml +++ b/python/python-features-trainer/resources/intellij.python.featuresTrainer.xml @@ -1,6 +1,7 @@ + + diff --git a/python/python-markdown/resources/intellij.python.markdown.xml b/python/python-markdown/resources/intellij.python.markdown.xml index 41917001d830..1b91ea610e21 100644 --- a/python/python-markdown/resources/intellij.python.markdown.xml +++ b/python/python-markdown/resources/intellij.python.markdown.xml @@ -1,6 +1,7 @@ + diff --git a/python/python-rest/resources/intellij.python.reStructuredText.xml b/python/python-rest/resources/intellij.python.reStructuredText.xml index 0a2e68c0e9b1..336ed6f14277 100644 --- a/python/python-rest/resources/intellij.python.reStructuredText.xml +++ b/python/python-rest/resources/intellij.python.reStructuredText.xml @@ -2,19 +2,24 @@ + - + - - - + + + @@ -51,7 +56,8 @@ - + diff --git a/python/python-terminal/resources/intellij.python.terminal.xml b/python/python-terminal/resources/intellij.python.terminal.xml index f0bf26015bc5..175e83f2f384 100644 --- a/python/python-terminal/resources/intellij.python.terminal.xml +++ b/python/python-terminal/resources/intellij.python.terminal.xml @@ -1,6 +1,7 @@ + diff --git a/python/src/META-INF/python-core-community.xml b/python/src/META-INF/python-core-community.xml deleted file mode 100644 index a0cc28d9e967..000000000000 --- a/python/src/META-INF/python-core-community.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - diff --git a/python/src/META-INF/python-v2-core-plugin-include.xml b/python/src/META-INF/python-v2-core-plugin-include.xml new file mode 100644 index 000000000000..4fbd7316cb17 --- /dev/null +++ b/python/src/META-INF/python-v2-core-plugin-include.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/python/src/META-INF/PyPoetryInclude.xml b/python/src/intellij.python.community.impl.poetry.xml similarity index 82% rename from python/src/META-INF/PyPoetryInclude.xml rename to python/src/intellij.python.community.impl.poetry.xml index 4f01c77d4cab..1811000cacab 100644 --- a/python/src/META-INF/PyPoetryInclude.xml +++ b/python/src/intellij.python.community.impl.poetry.xml @@ -1,6 +1,7 @@ - + + diff --git a/python/src/META-INF/python-core-common.xml b/python/src/intellij.python.community.impl.xml similarity index 99% rename from python/src/META-INF/python-core-common.xml rename to python/src/intellij.python.community.impl.xml index 6680aa65122f..2f1f65c35a2b 100644 --- a/python/src/META-INF/python-core-common.xml +++ b/python/src/intellij.python.community.impl.xml @@ -1,18 +1,19 @@ - + + + + + messages.PyBundle - - - @@ -44,8 +45,6 @@ overrides="true"/> - --> - org.toml.lang + diff --git a/python/testSrc/META-INF/PyCharmCorePlugin.xml b/python/testSrc/META-INF/PyCharmCorePlugin.xml deleted file mode 100644 index 840ee66cafdc..000000000000 --- a/python/testSrc/META-INF/PyCharmCorePlugin.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - -