Skip to main content

Module UI

Module UI 

Source
Expand description

UI-layer IPC handlers - one pub async fn Fn per file.

Modulesยง

DecorationsClear
Wire method: decorations:clear.
DecorationsGet
Wire method: decorations:get. Reads a URI decoration from cache, then falls back to a registered FileDecoration provider via Cocoon gRPC.
DecorationsGetMany
Wire method: decorations:getMany. Bulk-reads decorations for an array of URIs from the in-memory cache.
DecorationsSet
Wire method: decorations:set.
KeybindingAdd
Wire method: keybinding:add.
KeybindingGetAll
Wire method: keybinding:getAll.
KeybindingLookup
Wire method: keybinding:lookup.
KeybindingRemove
Wire method: keybinding:remove.
LifecycleGetPhase
Wire method: lifecycle:getPhase.
LifecycleRequestShutdown
Wire method: lifecycle:requestShutdown.
LifecycleWhenPhase
Wire method: lifecycle:whenPhase. Awaits LifecyclePhaseState::PhaseNotify instead of polling. Each forward phase transition calls notify_waiters(), so callers wake exactly when the target phase arrives. Hard cap at 30 s.
NotificationEndProgress
Wire method: notification:endProgress.
NotificationShow
Wire method: notification:show.
NotificationShowProgress
Wire method: notification:showProgress.
NotificationUpdateProgress
Wire method: notification:updateProgress.
ProgressBegin
Wire method: progress:begin.
ProgressEnd
Wire method: progress:end.
ProgressReport
Wire method: progress:report.
QuickInputShowInputBox
Wire method: quickInput:showInputBox.
QuickInputShowQuickPick
Wire method: quickInput:showQuickPick.
ThemesGetActive
Wire method: themes:getColorTheme.
ThemesList
Wire method: themes:list.
ThemesSet
Wire method: themes:set.
WorkingCopyGetAllDirty
Wire method: workingCopy:getAllDirty.
WorkingCopyGetDirtyCount
Wire method: workingCopy:getDirtyCount.
WorkingCopyIsDirty
Wire method: workingCopy:isDirty.
WorkingCopySetDirty
Wire method: workingCopy:setDirty.
WorkspacesAddFolder
Wire method: workspaces:addFolder.
WorkspacesGetFolders
Wire method: workspaces:getFolders.
WorkspacesGetName
Wire method: workspaces:getName.
WorkspacesRemoveFolder
Wire method: workspaces:removeFolder.