SWLS ships with a bundled WASM worker so the language server is available immediately after installing the extension — no extra setup required. Optionally, the extension can download a nativeDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/SemanticWebLanguageServer/swls-vscode/llms.txt
Use this file to discover all available pages before exploring further.
swls binary compiled for your platform, which provides better performance. The update system handles downloading, versioning, and switching between the WASM fallback and the native binary transparently.
How updates work
On each startup, whenswls.checkUpdate is true (the default), the extension queries the GitHub Releases API for the SemanticWebLanguageServer/swls repository.
The update flow works as follows:
- The extension runs the existing local binary with
--versionto read its current version tag. - It compares that tag against the latest release on GitHub (the most recent tag prefixed with
swls-). - If the versions differ — or if no local binary exists yet — a notification appears:
- First install: “swls language server is available. Install it now?” with an Install button.
- Upgrade: “swls update available:
<current>→<latest>” with an Update button.
- After accepting, the binary is downloaded to the extension directory and named
swlson Linux/macOS orswls.exeon Windows. - A Reload prompt appears; clicking it restarts the window so the new binary is used immediately.
Automatic updates
Setswls.automaticUpdate to true to skip the confirmation prompt. The extension downloads and installs any available update silently in the background, then shows only the final Reload prompt.
Automatic updates still show the Reload prompt after a successful download — a window reload is required to switch to the new binary.
Disabling update checks
Setswls.checkUpdate to false to opt out of update checks entirely. The extension will use whatever binary is already installed (or fall back to WASM) and will never contact the GitHub API on startup.
Using a custom binary
Setswls.command to the absolute path of a specific swls binary. When this setting is non-empty, the extension uses that binary directly instead of looking for a bundled binary in the extension directory.
- Pinning to a specific version — point to a binary you downloaded manually from the releases page.
- Self-built binaries — point to a binary compiled from source.
- System-wide installs — share a single binary across multiple VS Code workspaces.
Supported platforms
The extension selects the correct artifact from the GitHub release based on your OS and CPU architecture:| Platform | Architecture | Release artifact |
|---|---|---|
| Windows | x86_64 | swls-windows-x86_64.exe |
| Windows | arm64 | swls-windows-arm64.exe |
| Linux | x86_64 | swls-linux-x86_64 |
| Linux | aarch64 | swls-linux-aarch64 |
| macOS | x86_64 | swls-macos-x86_64 |
| macOS | arm64 | swls-macos-arm64 |
If your platform does not match any of the entries above, the extension will not attempt a download and will fall back to the bundled WASM worker automatically. All features remain available; only raw performance may differ.