mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
Closes #1949. Plugin API 1.3: views from several plugins can share one tool window (shown as tabs) and a view can declare a visibility condition (e.g. only when the project contains a file, or for the active file) so it appears only when it applies. Additive within API 1.x, with a fixture plugin, regression tests and docs. Co-authored-by: arnaud-ritti <[email protected]>
38 lines
717 B
TOML
38 lines
717 B
TOML
id = "grouped-views"
|
|
name = "Grouped Views"
|
|
version = "0.1.0"
|
|
engines.openidea = "^1.3"
|
|
wasm = "dist/plugin.wasm"
|
|
activation = ["on-command:*", "on-view:*"]
|
|
|
|
[[contributes.commands]]
|
|
id = "show"
|
|
title = "Grouped Views: Show"
|
|
|
|
[[contributes.commands]]
|
|
id = "hide"
|
|
title = "Grouped Views: Hide"
|
|
|
|
[[contributes.commands]]
|
|
id = "reveal"
|
|
title = "Grouped Views: Reveal"
|
|
|
|
[[contributes.views]]
|
|
id = "overview"
|
|
title = "Grouped Views"
|
|
location = "right"
|
|
group = "demo"
|
|
when = "plugin.grouped-views.ready"
|
|
|
|
[[contributes.views]]
|
|
id = "files"
|
|
title = "Project Files"
|
|
location = "right"
|
|
group = "demo"
|
|
when = "workspaceContains:grouped-views.txt"
|
|
|
|
[[contributes.views]]
|
|
id = "legacy"
|
|
title = "Ungrouped View"
|
|
location = "left"
|