mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal-python] IJPL-244467 Refactor: create separate directory for Terminal modules in Python and move existing ones
Also, rename the module to `backend` to highlight that it is the backend module. GitOrigin-RevId: c80d95ce7886a087105554e58bd7f67cf9c023ce
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6e74ab8207
commit
0d043237a3
Generated
+2
-2
@@ -1849,8 +1849,8 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-sdk-configurator/frontend/intellij.python.sdkConfigurator.frontend.iml" filepath="$PROJECT_DIR$/python/python-sdk-configurator/frontend/intellij.python.sdkConfigurator.frontend.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-syntax/intellij.python.syntax.iml" filepath="$PROJECT_DIR$/python/python-syntax/intellij.python.syntax.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-syntax-core/intellij.python.syntax.core.iml" filepath="$PROJECT_DIR$/python/python-syntax-core/intellij.python.syntax.core.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-terminal/intellij.python.terminal.iml" filepath="$PROJECT_DIR$/python/python-terminal/intellij.python.terminal.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-terminal/intellij.python.terminal.tests.iml" filepath="$PROJECT_DIR$/python/python-terminal/intellij.python.terminal.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/terminal/backend/intellij.python.terminal.backend.iml" filepath="$PROJECT_DIR$/python/terminal/backend/intellij.python.terminal.backend.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/terminal/backend/intellij.python.terminal.tests.iml" filepath="$PROJECT_DIR$/python/terminal/backend/intellij.python.terminal.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-test-env/common/intellij.python.test.env.common.iml" filepath="$PROJECT_DIR$/python/python-test-env/common/intellij.python.test.env.common.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-test-env/conda/intellij.python.test.env.conda.iml" filepath="$PROJECT_DIR$/python/python-test-env/conda/intellij.python.test.env.conda.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/python/python-test-env/core/intellij.python.test.env.core.iml" filepath="$PROJECT_DIR$/python/python-test-env/core/intellij.python.test.env.core.iml" />
|
||||
|
||||
@@ -1639,7 +1639,6 @@ python/python-sdk-configurator/frontend
|
||||
python/python-sdk-ui
|
||||
python/python-syntax
|
||||
python/python-syntax-core
|
||||
python/python-terminal
|
||||
python/python-test-env/common
|
||||
python/python-test-env/conda
|
||||
python/python-test-env/core
|
||||
@@ -1654,6 +1653,7 @@ python/python-venv
|
||||
python/services/internal-impl
|
||||
python/services/shared
|
||||
python/services/system-python
|
||||
python/terminal/backend
|
||||
python/testFramework
|
||||
python/tools
|
||||
spellchecker
|
||||
|
||||
+2
-2
@@ -1064,7 +1064,7 @@ jvm_library(
|
||||
# do not sort,
|
||||
"//python/IntelliLang-python:langInjection",
|
||||
"//python/python-copyright:copyright",
|
||||
"//python/python-terminal:terminal",
|
||||
"//python/terminal/backend",
|
||||
"//plugins/restructuredtext",
|
||||
"//python/python-grazie:grazie",
|
||||
"//python/python-markdown:markdown",
|
||||
@@ -1085,7 +1085,7 @@ jvm_library(
|
||||
":python-community-plugin-modules",
|
||||
"//python/IntelliLang-python:langInjection_test_lib",
|
||||
"//python/python-copyright:copyright_test_lib",
|
||||
"//python/python-terminal:terminal_test_lib",
|
||||
"//python/terminal/backend:backend_test_lib",
|
||||
"//plugins/restructuredtext:restructuredtext_test_lib",
|
||||
"//python/python-grazie:grazie_test_lib",
|
||||
"//python/python-markdown:markdown_test_lib",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.python.langInjection" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.python.copyright" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.python.terminal" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.python.terminal.backend" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.restructuredtext" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.python.grazie" scope="RUNTIME" />
|
||||
<orderEntry type="module" module-name="intellij.python.markdown" scope="RUNTIME" />
|
||||
|
||||
@@ -89,7 +89,7 @@ The Python plug-in provides smart editing for Python scripts. The feature set of
|
||||
<module name="intellij.python.langInjection"/>
|
||||
<module name="intellij.python.markdown"/>
|
||||
<module name="intellij.python.ml.features"/>
|
||||
<module name="intellij.python.terminal"/>
|
||||
<module name="intellij.python.terminal.backend"/>
|
||||
<module name="intellij.python.pytools.ui"/>
|
||||
<module name="intellij.python.black"/>
|
||||
</content>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
load("@community//build:tests-options.bzl", "jps_test")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library")
|
||||
|
||||
### auto-generated section `build intellij.python.terminal` start
|
||||
### auto-generated section `build intellij.python.terminal.backend` start
|
||||
|
||||
jvm_library(
|
||||
name = "terminal",
|
||||
name = "backend",
|
||||
srcs = glob(
|
||||
[
|
||||
"src/**/*.kt",
|
||||
@@ -13,7 +13,7 @@ jvm_library(
|
||||
],
|
||||
allow_empty = True,
|
||||
),
|
||||
module_name = "intellij.python.terminal",
|
||||
module_name = "intellij.python.terminal.backend",
|
||||
resource_strip_prefix = "resources",
|
||||
resources = glob(
|
||||
["resources/**/*"],
|
||||
@@ -37,17 +37,17 @@ jvm_library(
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "terminal_test_lib",
|
||||
name = "backend_test_lib",
|
||||
testonly = True,
|
||||
srcs = glob(
|
||||
[],
|
||||
allow_empty = True,
|
||||
),
|
||||
module_name = "intellij.python.terminal",
|
||||
module_name = "intellij.python.terminal.backend",
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [
|
||||
# do not sort,
|
||||
":terminal",
|
||||
":backend",
|
||||
"//python:python-community-impl_test_lib",
|
||||
"//plugins/terminal:terminal_test_lib",
|
||||
"//libraries/mockito",
|
||||
@@ -83,21 +83,21 @@ jvm_library(
|
||||
"//python/python-test-env/junit5:junit5_test_lib",
|
||||
],
|
||||
)
|
||||
### auto-generated section `build intellij.python.terminal` end
|
||||
### auto-generated section `build intellij.python.terminal.backend` end
|
||||
|
||||
### auto-generated section `iml intellij.python.terminal` start
|
||||
### auto-generated section `iml intellij.python.terminal.backend` start
|
||||
exports_files(
|
||||
[
|
||||
"intellij.python.terminal.iml",
|
||||
"intellij.python.terminal.backend.iml",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
### auto-generated section `iml intellij.python.terminal` end
|
||||
### auto-generated section `iml intellij.python.terminal.backend` end
|
||||
|
||||
### auto-generated section `build intellij.python.terminal.tests` start
|
||||
|
||||
jvm_library(
|
||||
name = "terminal-tests",
|
||||
name = "python-terminal-tests",
|
||||
srcs = glob(
|
||||
[],
|
||||
allow_empty = True,
|
||||
@@ -107,7 +107,7 @@ jvm_library(
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "terminal-tests_test_lib",
|
||||
name = "python-terminal-tests_test_lib",
|
||||
testonly = True,
|
||||
srcs = glob(
|
||||
[
|
||||
@@ -118,15 +118,15 @@ jvm_library(
|
||||
allow_empty = True,
|
||||
),
|
||||
associates = [
|
||||
"//python/python-terminal:terminal",
|
||||
"//python/python-terminal:terminal_test_lib",
|
||||
"//python/terminal/backend",
|
||||
"//python/terminal/backend:backend_test_lib",
|
||||
],
|
||||
resource_strip_prefix = "testResources",
|
||||
resources = glob(
|
||||
["testResources/**/*"],
|
||||
),
|
||||
visibility = ["//visibility:public"],
|
||||
runtime_deps = [":terminal-tests"],
|
||||
runtime_deps = [":python-terminal-tests"],
|
||||
deps = [
|
||||
# do not sort,
|
||||
"//python:python-community-impl",
|
||||
@@ -184,7 +184,7 @@ exports_files(
|
||||
### auto-generated section `test intellij.python.terminal.tests` start
|
||||
|
||||
jps_test(
|
||||
name = "terminal-tests_test",
|
||||
runtime_deps = [":terminal-tests_test_lib"],
|
||||
name = "python-terminal-tests_test",
|
||||
runtime_deps = [":python-terminal-tests_test_lib"],
|
||||
)
|
||||
### auto-generated section `test intellij.python.terminal.tests` end
|
||||
+1
-1
@@ -3,8 +3,8 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
+2
-2
@@ -30,7 +30,7 @@
|
||||
<orderEntry type="module" module-name="intellij.libraries.junit5.pioneer" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.platform.testFramework.common" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.python.test.env.junit5" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.python.terminal" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.python.terminal.backend" scope="TEST" />
|
||||
</component>
|
||||
<component name="TestModuleProperties" production-module="intellij.python.terminal" />
|
||||
<component name="TestModuleProperties" production-module="intellij.python.terminal.backend" />
|
||||
</module>
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<dependencies>
|
||||
<module name="intellij.libraries.junit5.pioneer"/>
|
||||
<module name="intellij.python.venv.tests._test"/>
|
||||
<module name="intellij.python.terminal"/>
|
||||
<module name="intellij.python.terminal.backend"/>
|
||||
<module name="intellij.libraries.junit5"/>
|
||||
<module name="intellij.libraries.junit5.params"/>
|
||||
<module name="intellij.platform.core"/>
|
||||
Reference in New Issue
Block a user