- 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
29 lines
888 B
JSON
29 lines
888 B
JSON
{
|
|
"name": "jumphp-plugins/skeleton-plugin",
|
|
"type": "jumphp-ide-plugin",
|
|
"description": "Lists the TODO and FIXME comments of the project, warns about FIXME, completes @todo.",
|
|
"license": "MIT",
|
|
"require-dev": {
|
|
"jumphp/ide": "*"
|
|
},
|
|
"repositories": [
|
|
{ "type": "path", "url": "../../ide", "options": { "symlink": true } }
|
|
],
|
|
"autoload": {
|
|
"psr-4": { "JumphpPlugins\\SkeletonPlugin\\": "src/" }
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": { "JumphpPlugins\\SkeletonPlugin\\Tests\\": "tests/" }
|
|
},
|
|
"extra": {
|
|
"jumphp-ide": {
|
|
"id": "skeleton-plugin",
|
|
"name": "TODO Finder",
|
|
"version": "0.1.0",
|
|
"class": "JumphpPlugins\\SkeletonPlugin\\TodoPlugin"
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"config": { "sort-packages": true }
|
|
}
|