mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
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]>
31 lines
852 B
TOML
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"
|