Files
openidea/crates/ide-plugin/tests/fixtures/jobs/plugin.toml
Deng Liuanddengliu 4557811ef8 feat(plugins): add vcs.remotes, ui.copy-to-clipboard and ui.open-url (#1366)
Plugins get three host calls in API 1.1: vcs.remotes (under vcs.read) lists the
repository's remotes, ui.copy-to-clipboard and ui.open-url act on the window that
invoked the plugin's command.

Remote URLs are returned without the user:password part they may carry, and the
two UI calls fail when there is no invoking window instead of reaching every window.

Co-authored-by: dengliu <[email protected]>
2026-11-05 13:49:59 +08:00

31 lines
852 B
TOML

# Test fixture: a tool window listing what an external program reports, and a
# terminal following one entry. Covers pinned programs (`process:`), terminals,
# settings and tree views, locally and in remote projects.
id = "jobs"
name = "Jobs"
version = "0.1.0"
description = "Test fixture: lists the jobs `jobs list` prints and follows one in the terminal."
authors = ["OpenIDEA contributors"]
engines.openidea = "^1.0"
wasm = "dist/plugin.wasm"
activation = ["on-view:jobs", "on-command:*"]
[capabilities]
required = ["process:jobs"]
optional = ["project.read", "vcs.read", "clipboard"]
[[contributes.views]]
id = "jobs"
title = "Jobs"
icon = "toolwindow-services"
location = "right"
[[contributes.commands]]
id = "follow"
title = "Jobs: Follow Selected Job"
category = "Jobs"
[contributes.settings]
title = "Jobs"
schema = "settings.schema.json"