Files
openidea/crates/ide-plugin/tests/fixtures/tables/plugin.toml
Arnaud Ritti dc69c36604 feat(plugins): read-only form fields and table row interactions (#2013)
API 1.3 through the released `other` extension cases, no WIT change: form fields `label` (plain value) and `readonly-text` (selectable, optionally multi-line, drawn as read-only), and table view-events `table-select` / `table-activate` (click, Space; double-click, Enter) with absolute row indices. Table rows also get the view's `viewItem.context` commands, keyed by row. SDK: `FieldValue::label`, `FieldValue::readonly_text`, `ViewEvent::table_select` / `table_activate`. Closes #1953.

Co-authored-by: arnaud-ritti <[email protected]>
2026-11-07 23:36:59 +08:00

34 lines
879 B
TOML

# Test fixture: a tool window whose table the plugin sorts itself — the IDE
# makes the column headers clickable (`other` body, kind `table`) and sends
# `other` view-events, kind `sort`, which the plugin decodes and answers with
# the rows in the asked order.
id = "tables"
name = "Tables"
version = "0.1.0"
description = "Test fixture: a sortable table the plugin sorts itself."
authors = ["OpenIDEA contributors"]
engines.openidea = "^1.3"
wasm = "dist/plugin.wasm"
activation = ["on-view:tables", "on-view:fields", "on-command:inspect"]
[[contributes.views]]
id = "tables"
title = "Tables"
icon = "plugin"
location = "right"
[[contributes.views]]
id = "fields"
title = "Read-only Fields"
icon = "plugin"
location = "right"
[[contributes.commands]]
id = "inspect"
title = "Inspect Row"
[[contributes.menus]]
menu = "viewItem.context"
view = "tables"
command = "inspect"