Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tinymist GPU ViewerNew to Visual Studio Code? Get it now.
Tinymist GPU Viewer

Tinymist GPU Viewer

Myriad Dreamin

|
3 installs
| (0) | Free
GPU-backed Typst previewer provider for Tinymist.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tinymist GPU Viewer

Tinymist GPU Viewer is a previewer-provider extension for Tinymist. It launches the native GPU previewer from crates/tinymist-viewer through Tinymist's tinymist.previewer extension-provider contract.

Usage

Install both extensions. In VS Code Remote windows, install them into different extension hosts:

  • myriad-dreamin.tinymist in the workspace/remote extension host
  • myriad-dreamin.tinymist-gpu-viewer in the local/UI extension host

Then configure Tinymist:

{
  "tinymist.previewer": "myriad-dreamin.tinymist-gpu-viewer"
}

Tinymist will activate this extension, start the regular preview server, and pass the preview data-plane websocket address to the native tinymist-viewer process. No VS Code webview preview panel is created for this provider.

In VS Code Remote windows, Tinymist may run in the remote extension host while Tinymist GPU Viewer runs in the local UI extension host. The provider uses a command bridge in that case, and Tinymist passes a VS Code-forwarded websocket URL to the local native viewer. The GPU Viewer extension intentionally has no hard VS Code extension dependency on Tinymist because Tinymist may be loaded in a different extension host.

For local development, the repository debug task builds the native viewer and copies the debug binary into this extension's bin/ directory before launching the Extension Development Host:

cargo build --bin tinymist-viewer

The provider version is expected to match the Tinymist extension version because the preview websocket protocol is versioned with Tinymist.

If the executable is not bundled and cannot be found on PATH, configure:

{
  "tinymist.gpuViewer.executable": "/path/to/tinymist-viewer"
}

Window layout

By default the provider tries to place VS Code on the left and the native viewer on the right after starting preview. To disable this desktop window automation, configure:

{
  "tinymist.gpuViewer.windowLayout": "disabled"
}

Window layout is best-effort and does not affect the preview task if the operating system blocks it. Check the Tinymist GPU Viewer output channel for layout diagnostics.

  • Windows uses PowerShell with Win32 window APIs.
  • macOS uses AppleScript through osascript and may require Accessibility permission.
  • Linux uses wmctrl; it works on many X11/EWMH window managers and is commonly blocked or unsupported on Wayland.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft