mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-07 10:16:03 -10:00
Plugin API 1.2 gains an optional document-indexer export (plugin-indexing world). A plugin returns per document the keys it defines and refers to, aliases between key prefixes and gutter markers; the host indexes a trusted project in cancellable background batches, keeps the project-wide graph, and answers Go to Declaration / Ctrl-click and multi-target gutter markers from memory without calling the plugin again. Edits and file changes invalidate the affected entries; reload, disable or a failing runtime drops the plugin's graph. The interface is limited to cross-file associations: icons chosen by file content and embedded-language regions are separate concerns for later interfaces. The plugin navigation choosers' titles are translated. Co-authored-by: qjlqyf <[email protected]>
12 lines
223 B
TOML
12 lines
223 B
TOML
id = "test.indexer"
|
|
name = "Document indexer fixture"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.2"
|
|
wasm = "dist/plugin.wasm"
|
|
|
|
[capabilities]
|
|
required = ["project.read"]
|
|
|
|
[[contributes.documentIndexers]]
|
|
extensions = ["idx"]
|