Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>WHAM: Windhawk Source AmalgamationNew to Visual Studio Code? Get it now.
WHAM: Windhawk Source Amalgamation

WHAM: Windhawk Source Amalgamation

meteoni

| (0) | Free
Build standalone Windhawk mods and recover their editable source trees, with per-project sidebar controls.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WHAM

Windhawk Source Amalgamation for VS Code.

Write a Windhawk mod across several C++ files, then generate a single .wh.cpp to use in Windhawk. The output also keeps the information needed to recover those source files later.

WHAM's project sidebar beside a Windhawk mod with Markdown syntax highlighting

Getting started

  1. Install the WHAM .vsix through Extensions: Install from VSIX… in VS Code.
  2. Open WHAM in the activity bar. Choose New project, Existing project, or Recover mods.
  3. Select your Windhawk installation and indentation. Extension settings holds installation and elevation preferences; Project settings → Editor holds local project choices and formatting.

Open project remembers recent folders and opens existing WHAM projects without setup prompts. Browse to select another source folder.

Keep each mod's entry .cpp and its local headers under src/. WHAM follows the includes and writes one .wh.cpp per entry to output/.

src/mod.cpp + included headers → output/mod.wh.cpp

Output updates when you save. Use Generate for a single mod or Generate all for the project. Settings controls generation, compiler integration, indentation, and Git ignore rules.

New projects get src/, output/, configuration, and Git setup. Generated output and local compiler settings are ignored. Create initial Git commit is optional for new or recovered repositories; it uses your existing Git identity.

Recovery

Recover mods rebuilds a source tree from one or more WHAM-generated files. Keep the WHAM boundary comments and recovery footer intact. Ordinary .wh.cpp files cannot recover their former project layout.

If you edit generated output, WHAM pauses regeneration so your changes aren't overwritten. Restore those edits to source or explicitly discard them before generating again.

Compile generates and installs the current mod in Windhawk, keeping its Enabled state. The first build starts disabled. The dropdown offers Test build without installing, Verify syntax for its declared architectures, and Stop compilation while a build is running. Click the mod name to preview its README and default settings in the sidebar. Use the Windhawk icon beside Refresh to open Windhawk and change installed settings.

The preview works without Windhawk. Compilation and installed-mod controls need a compatible Windhawk 2.0 CLI. See the user guide for configuration, CLI commands, and supported C++ constructs.

Standard Windhawk installs need elevation for compilation and installed-mod changes. Choose Windows sudo (may require more prompts) or gsudo (once per VS Code session) under Extension settings. gsudo is found automatically on PATH when installed. None uses VS Code's current permissions. Saving local preferences does not change project files; Apply editor settings does.

Building

Use Node.js 20 or newer, Git, and Windhawk’s Windows compiler. Set WINDHAWK_HOME if its installation isn’t detected.

npm ci
npm test
npm run package

Packaging creates a .vsix in this folder. Press F5 in VS Code to launch a development host.

License

WHAM's own code is MIT licensed. The bundled Windhawk renderer, icon, and adapted syntax grammar are GPLv3; see third-party notices. WHAM is an independent project.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft