Файли
openidea/crates/ide-plugin/tests/fixtures/code-semantics/Cargo.toml
T
RuyimgByCN 65e243f5fc feat(plugins): add code.semantics read-only LSP queries (#8117)
Plugin API 1.21 adds the low-risk code.semantics capability: Project::lsp_definition, lsp_type_definition, lsp_implementations, lsp_references (capped by a limit), lsp_hover_info and lsp_document_symbols query the running language servers, also for read-only jdt:// documents. Queries need a trusted project, documents are opened through the ref-counted document store and released afterwards, and locations outside the project's roots are dropped. Includes the SDK methods and MockHost helpers, a fixture plugin with a host integration test, rebuilt plugin components, the capability's description in the text catalog, and README entries.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-05 03:30:06 +08:00

21 рядки
331 B
TOML

[package]
name = "openidea-test-code-semantics"
version = "0.1.0"
edition = "2024"
publish = false
[workspace]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
openidea-plugin = { path = "../../../../../sdk/rust/openidea-plugin" }
[profile.release]
opt-level = "s"
lto = true
strip = true
codegen-units = 1
panic = "abort"