дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
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]>
21 рядки
391 B
TOML
21 рядки
391 B
TOML
id = "test.code-semantics"
|
|
name = "Code semantics query fixture"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.21"
|
|
wasm = "dist/plugin.wasm"
|
|
|
|
[capabilities]
|
|
optional = ["code.semantics"]
|
|
|
|
[[contributes.commands]]
|
|
id = "definition"
|
|
title = "Query LSP definition"
|
|
|
|
[[contributes.commands]]
|
|
id = "hover"
|
|
title = "Query LSP hover"
|
|
|
|
[[contributes.commands]]
|
|
id = "symbols"
|
|
title = "Query LSP symbols"
|