Skip to content

Compile Plugin

Help query: "What does the compile plugin do?" / "How do I use compile in Volt?" / "How do I reload user.dll?"

The compile plugin owns workspace build workflows: prompt for a build command and stream output, re-run the last build, and reload the running User Library after rebuilding volt-user. On successful workspace.compile in a User Source Tree install, the host stages a unique library copy and hot-reloads it automatically.

Package namecompile
Moduleuser/compile.rs

What it does

  • Prompt for and run a workspace build command in a *compile <workspace>* popup
  • Prefill from workspace root markers (User Source Tree: cargo build --release -p volt-user)
  • Re-run the last build command for the active workspace
  • Hot-reload the User Library after a successful rebuild (Windows stages under target/<profile>/volt-user-hot/)
  • Optionally reload without rebuilding via workspace.reload-user-library
  • Supply per-language default build commands via default_build_command()

Commands

CommandDescription
workspace.compilePrompt for the build command, then stream it in a popup.
workspace.recompileRe-run the last build command for the active workspace.
workspace.reload-user-libraryReload the running user library state after rebuilding volt-user.

Keybindings

ChordCommandScope
S-F5workspace.recompileGlobal

Notes

In release User Source Tree installs, compile/reload pairs with hot-reload staging. See Build the user package and Hot reload.

Volt — modal editor platform · docs optimized for in-editor help search