Siege Language ToolsVS Code language support for Dungeon Siege, Legends of Aranna, Dungeon Siege II, and Space Siege. Features
Game profilesSelect the profile that matches your game before editing. Dungeon Siege (DS), Dungeon Siege II (DS2), and Space Siege (SS) use different syntax rules. An incorrect profile can produce false syntax errors or miss constructs specific to another game.
The default profile is DS / LoA ( Open a file in your project and run Siege: Select Game Profile from the Command Palette (
The selected profile is saved for the active file's workspace folder. Diagnostics are automatically rechecked after switching; no restart is required. In multi-root workspaces, each folder can use its own profile. Without an active root, the command asks which folder to change. With no workspace open, it updates user settings. If you work with several games, open their projects separately or add them as separate workspace folders and select the appropriate profile for each. A single workspace folder uses one profile for all its files, including subfolders. Settings
Run Siege: Reindex Workspace to rescan manually or Siege: Show Analysis Log for indexing details. LimitationsDiagnostics distinguish canonical editor syntax from permissive engine recovery. Shipped game files can contain errors. Unknown engine APIs are not treated as invalid merely because they are unknown. This extension is not a full game compiler or runtime: API/schema validation, cross-file compilation, and embedded expression checking remain incomplete. The extension has no runtime npm dependencies, makes no network requests, and does not run game executables. It targets desktop VS Code and the Node-based remote Extension Host, not browser-only VS Code. LicenseMIT. |