← c4studio · This site was generated by c4 publish from the model of c4studio itself.

VS Code Extension – Components

VS Code Extension – ComponentsVS Code Extension [Container: TypeScript, esbuild, .vsix]Core Library[Container: Python 3.13]Parsing, the domain model, theview graph and the generators.Pure Python, no I/O beyond readingsource files.Diagnostics Bridge[Component: TypeScript]Runs `c4 check --json` on saveand publishes the results into theProblems panel.Web Backend[Container: Python, FastAPI]Serves the JSON API and the builtSPA. Holds all mutable state on oneinjected AppState rather than inmodule globals.Studio (SPA)[Container: TypeScript, React, Vite]The browser app: browse, read,edit, and watch the diagram followthe text.CLI[Container: Python, click]generate, render, export, check,list-views, webapp, new.Workspace Sources[Container: Files on disk]The user's .dsl and .json files,including !include fragments. Thesource of truth; c4studio nevergenerates them from the model.Preview Manager[Component: TypeScript]Owns the preview panel: rendersthe chosen view with `c4 render --view` and shows the SVG, with noserver and no port. Starts the…Server Resolver[Component: TypeScript]Finds a runnable c4studio: aconfigured command, the project'sown environment, or a managedinstall.TextMate Grammar[Component: tmLanguage JSON]DSL syntax highlighting. The thirdcopy of the keyword vocabulary,and the one that cannot share theothers.Parses and generates throughParses and builds view graphsthroughReports skipped constructs toWrites atomically toCallsFinds a runnable backendthroughRenders one view as SVG withStarts on request, for Open inStudioOpens in a browser onrequestFinds the same backendthroughRuns `c4 check --json` withLocates or installsHighlightsContainerComponentFile StoreBoundaryRelationship