Files
Ilia Zakoulovandintellij-monorepo-bot 6e2d9cc90b PY-84031: Implement PyExternalFilesIndexService to index external files.
Non-project files by default are not indexed, do not have a module and do not have an SDK.
`PyExternalFilesIndexService` is resposible for adding a custom entities to the workspace model.

Space-RevId: dd7c50009e56dea0d69914c9f7f1524c7e77fe20

GitOrigin-RevId: cdfa2a578a01431fb9e0a06ce820c1d9b0f3fc0d
2026-02-03 23:35:47 +00:00

31 lines
1.0 KiB
Python

### auto-generated section `build intellij.python.externalIndex` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
resourcegroup(
name = "externalIndex_resources",
srcs = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "externalIndex",
module_name = "intellij.python.externalIndex",
visibility = ["//visibility:public"],
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
resources = [":externalIndex_resources"],
deps = [
"@lib//:kotlin-stdlib",
"@lib//:jetbrains-annotations",
"//platform/core-api:core",
"//platform/workspace/storage",
"//platform/projectModel-impl",
"//platform/backend/workspace",
"//platform/util",
"//platform/editor-ui-api:editor-ui",
"//platform/core-ui",
"//platform/projectModel-api:projectModel",
"//platform/analysis-api:analysis",
"//platform/platform-impl:ide-impl",
]
)
### auto-generated section `build intellij.python.externalIndex` end