AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0
CommandContextKey
Since Plugin API: 1.0.0
Context keys for fast command filtering. Commands declare which keys they require, and the CommandManager maintains the current set of active keys based on app state.
Signature
type CommandContextKey = "hasSelection" | "hasSingleSelection" | "hasMultiSelection" | "selectionIsFile" | "selectionIsDirectory" | "selectionIsMixed" | "inVial" | "hasVialSelection" | "hasClipboard" | "clipboardIsCut" | "clipboardIsCopy" | "clipboardIsCopySymlink" | "canGoBack" | "canGoForward" | "always";Union members
hasSelectionhasSingleSelectionhasMultiSelectionselectionIsFileselectionIsDirectoryselectionIsMixedinVialhasVialSelectionhasClipboardclipboardIsCutclipboardIsCopyclipboardIsCopySymlinkcanGoBackcanGoForwardalways