AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
ContextItemContext
Context passed to context menu item callbacks. Provides access to the current file(s) and pane.
Signature
interface ContextItemContext {
entry: FileEntry;
entries: FileEntry[];
pane: PluginPaneContext;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
entry | FileEntry | yes | The primary file entry (for single mode, the right-clicked file; for multi, the first selected) |
entries | FileEntry[] | yes | All selected file entries (for multi mode; for single mode, just [entry]) |
pane | PluginPaneContext | yes | The pane context |