Файли
openidea/plugins/official/todo-finder
l0ng-ai 479123dcf3 fix(plugins): give a child's status only with the last of its output (#4572)
poll and wait returned the exit status as soon as the process ended. Reader threads could still be copying its pipes, or more output could be buffered than one chunk holds, so a caller stopping at the first status parsed a truncated result. The status now comes only with the chunk that drains the output once both pipes reached the end. WIT, SDK and guide docs say so, and point to run_command for a command's whole output.
2026-11-20 00:18:30 +08:00
..
2026-11-09 08:40:40 +08:00

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.