Files
openide/platform/scopes/backend/BUILD.bazel
Vera Petrenkova 4648976c82 [find in files] IJ-CR-168030 IJPL-186012 Introduce FrontendScopeChooserCombo for remote development
- Added APIs and services to allow the backend to expose available search scopes to the frontend (ScopeModelService)
- created ScopesStateService that keeps map scopeId to ScopeDescriptor
- added scopeId to FindModel for getting scope on the backend using ScopesStateService
- refactored FindPopupScopeUIImpl for using FrontendScopeChooserCombo instead of ScopeChooserCombo in case when FindKey is enabled

(cherry picked from commit 4d44d7aaadff23a0a3bb4262ea4d6f5a7dfe1f85)

GitOrigin-RevId: 7a1174256fc723c3373c7924a4d028fd6e3d1285
2025-07-04 16:42:52 +00:00

31 lines
877 B
Python

### auto-generated section `build intellij.platform.scopes.backend` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "backend_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "backend",
module_name = "intellij.platform.scopes.backend",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"//platform/scopes",
"//platform/project/shared:project",
"//platform/kernel/backend",
"//platform/core-api:core",
"//platform/util",
"//platform/lang-impl",
"//platform/core-ui",
"//platform/util/coroutines",
],
runtime_deps = [
":backend_resources",
"//platform/backend",
]
)
### auto-generated section `build intellij.platform.scopes.backend` end