Expand description
Parsing and serialization of VS Code .code-workspace JSON files.
The format is a JSON object with at minimum a folders array; each entry
has a path relative to the workspace file’s parent directory.
ParseWorkspaceFile::Fn resolves each path through the canonical-path
cache and converts it to a file:// URI.
Modules§
- Parse
Workspace File - Parse a
.code-workspacefile’s content and resolve every folder path to afile://URI. - Workspace
File 🔒 - Top-level shape of a
.code-workspaceJSON document. Private to the parser; exposed only aspub(super)for the siblingParseWorkspaceFile::Fnto deserialise into. - Workspace
Folder 🔒Entry - Single
foldersentry in a.code-workspaceJSON document. Path is relative to the workspace file’s parent directory.