Файли
openidea/crates/ide-plugin/tests/fixtures/path-events/plugin.toml
T
l0ng-ai 78b478ee38 fix(plugins): say which project a document-changed path is relative to (#4332)
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.
2026-11-18 22:13:03 +08:00

43 рядки
734 B
TOML

id = "test.path-events"
name = "Path event fixture"
version = "0.1.0"
engines.openidea = "^1.6"
wasm = "dist/plugin.wasm"
activation = ["on-command:*"]
[capabilities]
required = ["storage"]
optional = ["events", "project.read", "editor.read"]
[[contributes.providers]]
kinds = ["hover"]
languages = ["text", "plaintext"]
[[contributes.commands]]
id = "project"
title = "project"
[[contributes.commands]]
id = "filter"
title = "filter"
[[contributes.commands]]
id = "all"
title = "all"
[[contributes.commands]]
id = "off"
title = "off"
[[contributes.commands]]
id = "document"
title = "document"
[[contributes.commands]]
id = "document-project"
title = "document-project"
[[contributes.commands]]
id = "count"
title = "count"