TypeGPU Inspector for VS CodeTypeGPU shader inspection in the editor. The extension runs the module you are editing in a headless Chromium with WebGPU and shows what TypeGPU produced, in the TypeScript buffer:
First runOpening a TypeGPU file starts warming the inspection session in the background;
the status bar shows "TypeGPU warming up" meanwhile. Before the first
inspection the extension asks, in a dialog, whether it may download
Nothing is sent anywhere. There is no telemetry, and the only network traffic
is those two downloads plus whatever the module requests itself. Deleting the
download is safe. Answer "Not now" to skip inspection for the session, or set
The first inspection in a workspace can take a few minutes; later ones reuse the warm session and finish in seconds. Node.js 20 or newer is required. Generated WGSL beside the editorThe editor title of a TypeGPU file has an "Open Generated WGSL to the Side" button. The document it opens follows the cursor: move onto another pipeline or shader function and it shows that target's WGSL, with the compiler's diagnostics in place and a link back to the source at the top. "Pin" keeps one target open in its own tab. Hovers offer the same document as Open WGSL and Peek. "Open Inspection Report to the Side" does the same for the full report, rendered in the Markdown preview. A file written by a tool or an agent while it is open is inspected as if you had saved it. Settings and commandsSettings live under Under "TypeGPU Inspector:" the command palette offers Open Generated WGSL to the Side, Open Inspection Report to the Side, Restart Server, Show Output Log, Run Environment Doctor, Select Hover Detail, and Select Inlay Detail. The status bar item opens the same menu. WGSL syntaxWGSL highlighting for hover previews and generated AuthorshipA significant part of this codebase was written by Claude, Anthropic's Claude Fable 5 model, working through Claude Code, with the maintainer directing, reviewing, and testing the work. |