The VS Code design workflow is split into two surfaces:
AXSG Inspector activity-bar container is the companion inspection and editing surfaceThe inspector is not embedded into the preview editor. It lives in a dedicated left-side rail container, similar to other VS Code side panels.
The extension supports three preview startup modes:
autosourceGeneratedavaloniaauto is the recommended mode and the default. It prefers the AXSG source-generated preview first and falls back to the Avalonia/XamlX host when needed.
When the AXSG runtime output is available, the source-generated preview path is the most complete one for AXSG-specific features. Current support includes:
Design.PreviewWithd:DesignWidth and d:DesignHeightThe preview tab includes:
InteractiveNormal app interaction mode.
DesignDesigner/selection mode.
AgentReserved for parity with the shared Hot Design workspace model. Keep using Interactive or Design unless you have a specific agent-driven workflow.
The preview and inspector currently support:
LogicalVisualThis controls how preview hit testing resolves the selected element. The inspector still exposes both Logical Tree and Visual Tree at the same time.
The inspector activity-bar container currently exposes:
DocumentsToolboxLogical TreeVisual TreePropertiesShows the design documents in the current workspace-backed preview session and lets you switch the active design document.
Shows insertable controls/items exposed by the runtime design workspace. Selecting an item inserts it through the runtime mutation pipeline instead of by ad-hoc text generation in the extension.
These show separate live-tree projections from the current preview root.
The properties panel is a webview-based inspector over runtime property metadata and currently supports:
Smart vs All filter modesProperty updates go through the runtime hot-design mutation contract and are applied back to the XAML editor as minimal diffs.
The current synchronization model is:
Design mode selects through runtime hit testingThe inspector toolbar exposes:
AXSG Inspector: UndoAXSG Inspector: RedoThese operate on the preview-backed design session, not a separate side database.