VS Code Integration

Last updated: April 10, 2026 Frotty
VS Code Integration Edit page

The Wurst VS Code extension turns VS Code into a full Warcraft III development environment. Installing it is all that is needed to get started — the extension manages the compiler and CLI automatically.

Language Support

The extension provides first-class editing support for .wurst files:

  • Syntax highlighting and semantic tokens
  • Hover documentation for functions, types, and variables — including native documentation pulled from JassDoc where available
  • Inlay hints for type information and code flow
  • Go-to-definition and find references across the full project
  • Inline diagnostics from the compiler — errors and warnings appear in the editor as you type
  • Code completion for identifiers, packages, and native functions

Build and Run

The play button in VS Code runs your map directly:

  1. Open any .wurst file or a .w3x/.w3m map file.
  2. Click the run button (or use F1Wurst: Run).

The extension builds the project, patches the map, and launches Warcraft III. No terminal needed for the common path.

Asset Preview

The extension can render common Warcraft III asset formats directly in the editor without needing the World Editor or external tools:

Format Description
.blp Blizzard texture format
.dds DirectDraw Surface texture
.mdx Warcraft III model format

Open any of these files from the VS Code explorer and they are displayed inline.

MPQ Inspector

.w3x and .w3m map archives can be browsed directly in VS Code:

  • Browse the archive file tree without unpacking
  • Extract individual files from the archive
  • Export to Folder — unpacks the entire archive into a .w3x or .w3m folder for use with version control or the map folder workflow (see Map Formats)

Command Palette

Common Wurst actions are available via F1:

  • Wurst: Run — build and launch the map
  • Wurst: Build — compile without running
  • Wurst: Install — install/update the toolchain
  • Wurst: New Wurst Project — project scaffolding