Expand description
Workspace-domain handlers for CocoonService. Five entry points cover
document open/save, edit application, configuration changes, and
workspace-folder updates.
Modulesยง
- Apply
Edit - Apply a sequence of text edits to a document via
sky://editor/applyEdits. Each edit carries arange(start/end position) plus the replacementnewText. - Open
Document - Open a document in the workbench via
sky://editor/openDocument. - SaveAll
- Save every dirty editor (optionally including untitled) via
sky://editor/saveAll. - Update
Configuration - Forward a Cocoon-side configuration change to Sky for workbench settings refresh.
- Update
Workspace Folders - Apply folder additions/removals to
ApplicationState.Workspace. URIs drive removal matching; new folders are appended after the existing set so existing indices stay stable.