mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
document-changed gave plugins the path relative to the file's own project but not which project, so with two open projects holding the same relative path a plugin couldn't tell which document changed. The event now carries project (the root the path is relative to); the SDK's DocumentChanged exposes it as Option<String>. The payload is JSON through other, so WIT is unchanged; plugin components are rebuilt for the SDK change.
Commit test fixture
Describe Changes (in the commit.message toolbar) reads the commit being
prepared and writes a message listing its files; the markers before-commit
check reports a message without a type: prefix and every DO NOT COMMIT
added by the commit.
Used by cargo test -p ide-host --test plugin_commit to exercise the commit
interface and the optional commit-checker export. It is not a marketplace plugin.