Skip to main content

Module CocoonService

Module CocoonService 

Source

Modules§

Auth
Authentication domain handlers for CocoonService. Two gRPC entry points: GetAuthenticationSession::Fn and RegisterAuthenticationProvider::Fn.
Command
Command-domain handlers for CocoonService. RegisterCommand::Fn, ExecuteContributedCommand::Fn, UnregisterCommand::Fn.
Debug
Debug-domain handlers for CocoonService. RegisterDebugAdapter::Fn, StartDebugging::Fn, StopDebugging::Fn.
Extension
Extension-domain handlers for CocoonService. GetExtension::Fn, GetAllExtensions::Fn, GetConfiguration::Fn.
FileSystem
File-system-domain handlers for CocoonService. Eleven entry points covering read/write/stat, directory ops, watch, glob/text search, and delete/rename/copy/create-directory.
Initialization
Initialization-domain handlers for CocoonService. CancelOperation::Fn, InitialHandshake::Fn, InitExtensionHost::Fn.
Output
Output-channel domain handlers for CocoonService. Five entry points, each forwarding a sky://output/<verb> event to Sky.
Provider
Language-feature-provider handlers for CocoonService. 44 entry points split between Register* (21 files: hover/completion/definition/…, the on-type-formatting / signature-help / semantic-tokens variants that carry custom request shapes) and Provide* (23 files dispatching the typed gRPC requests to the corresponding LanguageFeatureProviderRegistry methods on the environment).
SCM
Source-control-management domain handlers for CocoonService. RegisterScmProvider::Fn, UpdateScmGroup::Fn, GitExec::Fn.
Save
Save Participants domain handlers for CocoonService.
Secret
Secret-storage domain handlers for CocoonService. GetSecret::Fn, StoreSecret::Fn, DeleteSecret::Fn.
Task
Task-domain handlers for CocoonService. RegisterTaskProvider::Fn, ExecuteTask::Fn, TerminateTask::Fn.
Terminal
Terminal-domain handlers for CocoonService. Eight entry points cover lifecycle (open/close), I/O (input/data), notifications (opened/closed/ processId), and resize.
TreeView
Tree-view-domain handlers for CocoonService. RegisterTreeViewProvider::Fn, GetTreeChildren::Fn, plus private helpers EnqueueTreeViewEmit (16 ms emit batcher) and ViewIdHandle (viewId → registration u32).
Window
Window-domain handlers for CocoonService. Sixteen entry points cover show/hide messages, status-bar items, webview panels, and the prompt family (quick-pick / input-box / progress).
Workspace
Workspace-domain handlers for CocoonService. Five entry points cover document open/save, edit application, configuration changes, and workspace-folder updates.

Structs§

CocoonServiceImpl
Implementation of the CocoonService gRPC server