Files
openidea/crates/ide-plugin/tests/fixtures/execution/plugin.toml
T
l0ng-ai a8036ce6fa feat(plugins): open two texts in the diff viewer (API 1.7) (#3055)
Plugins could show their own content in an editor tab (open-content-tab) but
could open the diff viewer only as the reply to one of that tab's actions. A
review plugin (a merge request's files, say) had no way to show a file's
before and after.

views.open-diff opens two texts in the invoking window's diff viewer, with
optional labels and title and a file name that picks the syntax highlighting;
web views send { op: "open-diff", ... }. The SDK wraps it as host::open_diff
with a mock. The plugin API moves to 1.7.0 (1.6.0 is released) and the checked-in
components are rebuilt.
2026-11-13 12:02:36 +08:00

65 lines
1.1 KiB
TOML

id = "execution"
name = "Plugin execution tests"
version = "0.1.0"
engines.openidea = "^1.5"
wasm = "dist/plugin.wasm"
activation = ["on-command:*"]
[capabilities]
required = ["storage", "project.read"]
optional = ["process:execution-tool"]
[[contributes.runDetectors]]
id = "detected"
name = "Detected test"
files = ["execution.marker"]
command = "execution-tool"
args = ["test"]
test = true
framework = "plugin"
[[contributes.runConfigurations]]
files = ["execution.marker"]
[[contributes.commands]]
id = "run"
title = "run"
[[contributes.commands]]
id = "debug"
title = "debug"
[[contributes.commands]]
id = "terminal"
title = "terminal"
[[contributes.commands]]
id = "write"
title = "write"
[[contributes.commands]]
id = "content"
title = "content"
[[contributes.commands]]
id = "diff"
title = "diff"
[[contributes.commands]]
id = "events"
title = "events"
[[contributes.commands]]
id = "target"
title = "target"
[[contributes.commands]]
id = "untarget"
title = "untarget"
[[contributes.commands]]
id = "target-overrides"
title = "target-overrides"
[[contributes.commands]]
id = "validation"
title = "validation"