You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A plugin can place tool windows and commands in the workbench. The window shell (docking, title, activity bar, order, layout, theme, lifecycle) always belongs to the host; the plugin supplies only the content: plain text, a packaged web page, or a native tree, list, or form drawn by the host. A command can open one of the plugin's windows, or open none and only notify the backend.
ui.contribute; ui.web for web pages; backend.launch for a command without a window; window.messages for messages shown by the backend
Activation events
onView:<window-id> per window, onCommand:<command-id> per command
Lithe desktop
Declares ui 0 and presents text, web, and native tool windows, and commands that open a tool window. It does not present commands that belong to no tool window: such packages install, but those commands have no entry point
Rules
Tool windows: 1–64. Each has a stable id, title, initial placement (left, bottom, or right), integer order (default 0), and exactly one kind of content: text (plain text), web (a packaged page), or native (native content).
Commands: up to 128. placements is nonempty and takes commandPalette, toolbar, or menu. A command with toolWindowID opens one of the same plugin's windows. A command without toolWindowID only notifies the backend; toolWindows may then be empty or omitted.
Web windows: web.entry is a package-relative .html path and requires the ui.web permission. The bridge and lifecycle are in Web content.
Native windows: native.kind is tree, list, or form. The whole node set is limited to 2000 nodes and depth 16; a form has at most 32 controls and 16 buttons.
Commands without a window: require backend (in requires), ui.contribute, and backend.launch, plus the onCommand:<command-id> activation event. commands/didRun is an event; it does not show that the command's business action succeeded.
Every ID starts with the plugin ID and a dot. Titles are at most 256 bytes and window text at most 65536 bytes; text is shown literally and never evaluated as HTML or script.