- ide/src/Plugin: Plugin (activate(Api)), Api (actions with menus and shortcuts, tool windows made of Ui nodes whose callbacks run in PHP, run configurations, completion, problems, listeners, timers, notify / openFile / run, workspace, settings), PluginHost (found in the user's plugins and the project's .jumphp/plugins/, a failing plugin reported and never fatal, install / enable / remove, plugins.* commands) - ide/src/Testing/PluginTestCase: a plugin played without a window (project, action, toolText, click, submit, complete, problems, save, wait) - the interface: plugins.js (their tool windows, actions in the menus and the key map, completion and problems, Tools > Plugins…), New Project > IDE plugin; a "null" no longer shows beside the background task - bin/jumphp plugin:new / plugin:pack, test of a plugin's folder; skeleton-plugin/, games/hello-plugin (TODO Finder) - docs/ide-plugins.md, AGENTS.md §19 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01X3cUrpEPheHAT512jkSvAK
12 lines
636 B
Markdown
12 lines
636 B
Markdown
# TODO Finder — a plugin of the JumPHP IDE
|
|
|
|
Lists the TODO and FIXME comments of the project in a tool window, underlines FIXME as a warning, completes
|
|
`@todo`, and counts the TODOs of the open file (Tools > Count the TODOs of This File, `Ctrl+Alt+T`).
|
|
|
|
```bash
|
|
bin/jumphp install {{GAME_ID}}
|
|
bin/jumphp test {{GAME_ID}} # php -l, phpstan, the plugin's tests (PluginTestCase: the IDE's core, no window)
|
|
bin/jumphp plugin:pack {{GAME_ID}} # dist/{{GAME_ID}}-<version>.zip, to install or to publish on jumphp.net
|
|
```
|
|
|
|
Try it in the JumPHP IDE: Settings > Plugins > Install from the project. The guide: docs/ide-plugins.md.
|