дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
Plugin API 1.4: grants for unencrypted HTTP, local sockets, IDE commands and owned database sources; window status items, output channels, content tabs, editor selections, decorations, search, Problems and VCS reads; runs, keyed terminals with exit events, plugin run targets, dynamic run configurations and test parsers; language features, injections, snippets and menu locations; plugin MCP tools on the built-in server; four official API examples. Released 1.3 plugins keep working.
todo-finder — API 1.4 example
Run Example: Find TODOs, including from a search result's context menu.
project.search-text supplies a list view; activating a row opens its location.
The invoking window's status item combines the match count with
diagnostics.problems. Both search and rendering use the invocation's project,
so the example keeps no cross-window cache. Results are capped at 500.
Grant: project.read. Remote Problems snapshots are currently empty; text
search still runs on the server. This is a small view/API example, not a TODO
indexer or a replacement for Find in Files.
Build from the repository root:
plugins/build.sh official/todo-finder
cargo test --manifest-path plugins/official/todo-finder/Cargo.toml
cargo run -p ide-host --bin openidea-plugin -- check plugins/official/todo-finder
Install the built package folder through Settings › Plugins › Install from Disk. See the plugin guide and official/community policy.