Hello Plugin
Installable IdeA plugin example rebuilt from the public SDK types.
It exercises the current plugin primitives end to end:
- top-level menu:
Hello Plugin; - menu entry:
hello-plugin; - command:
hello-plugin, returninghello-world; - layout contribution:
hello-plugin.hello-world, rendered ashello-world. - tooling capability: logs the focused workspace project when
ctx.servicesis available.
npm run typecheck:examples
npm run package:hello-plugin
The installable archive is emitted at examples/hello-plugin/build/hello-plugin-0.1.0.zip.
It contains idea-plugin.json at the ZIP root and the compiled ESM entrypoint at
dist/index.js, matching the manifest main field.
Diagnostics
During activation the plugin logs:
- whether the command and layout runtime registries are available;
- successful registration of the
hello-plugincommand; - successful registration of the
hello-plugin.hello-worldlayout; - availability of the workspace service from the
toolingruntime capability; - the first layout render, including project/node identifiers.
These messages are intentionally small and stable so installation, bundle import, activation and layout rendering failures can be separated quickly in IdeA logs/devtools.