Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Warlock DX — Tokens BridgeNew to Visual Studio Code? Get it now.
Warlock DX — Tokens Bridge

Warlock DX — Tokens Bridge

warlock-dx

|
6 installs
| (0) | Free
Local bridge between Figma and VS Code to sync design tokens and export selection for AI workflows.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Warlock DX — Tokens Bridge (VS Code)

Sync design tokens from Figma into files in the workspace open in VS Code, and export the current selection for AI-oriented workflows. Traffic stays local on your machine.

Requirements

  • Visual Studio Code 1.85 or newer
  • Warlock DX Figma plugin, using the same port as in VS Code (default is usually 3846)

Quick start

  1. Open your project folder in VS Code.
  2. Enable the extension and find the Warlock icon in the activity bar (side rail). The bridge panel lives there.
  3. From the Command Palette (Warlock:) you can open the panel, start, or stop the bridge if needed.
  4. In Figma, connect the plugin to the same host/port the extension uses.
  5. If another app already binds that port on localhost, change it in VS Code settings and in the plugin so they match, or quit the other app.

Settings (VS Code)

In Settings, search the warlockTokens prefix (or edit user or workspace settings.json). Common options:

Setting Purpose
warlockTokens.bridgePort WebSocket port for the bridge.
warlockTokens.outputSubdir Folder where token files are written.
warlockTokens.selectionExportSubdir Folder for selection exports (e.g. for AI).
warlockTokens.outputFormatOverride Optional forced output format.
warlockTokens.bridgeAuthToken Optional shared secret for the connection.

Other keys under warlockTokens are described in the VS Code settings UI.

Privacy and data

The bridge listens on localhost and only writes inside the workspace you have open.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft