mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
Closes #1944 API 1.3 lets a plugin search the IDE's workspace symbol index. Results are limited to paths the plugin may read under its `project.read` grant (external content roots and symlink aliases excluded), the search honours the call's cancellation and deadline including lock waits, and ranges use UTF-16. Incremental index updates no longer publish symlink-ancestor aliases. Verified on macOS with the test fixture. Co-authored-by: arnaud-ritti <[email protected]>
24 lines
465 B
TOML
24 lines
465 B
TOML
id = "test.symbols"
|
|
name = "Indexed symbols fixture"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.3"
|
|
wasm = "dist/plugin.wasm"
|
|
[capabilities]
|
|
required = ["project.read"]
|
|
|
|
[[contributes.providers]]
|
|
kinds = ["definition"]
|
|
languages = ["php", "java"]
|
|
|
|
[[contributes.commands]]
|
|
id = "symbols"
|
|
title = "Query indexed symbols"
|
|
|
|
[[contributes.commands]]
|
|
id = "remember"
|
|
title = "Remember project"
|
|
|
|
[[contributes.commands]]
|
|
id = "remembered"
|
|
title = "Query remembered project"
|