Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>WitcherScriptNew to Visual Studio Code? Get it now.
WitcherScript

WitcherScript

webspam

|
4 installs
| (0) | Free
Minimal WitcherScript diagnostics, navigation, and hover support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WitcherScript

Language support for The Witcher 3 .ws files in VS Code and Cursor, powered by a bundled Rust language server.

Features

  • Diagnostics — syntax errors and validation warnings as you type
  • Completion — members, symbols, and method snippets
  • Hover — signatures and type annotations
  • Go to Definition and Find References
  • Rename — workspace-wide symbol renaming
  • Signature help — parameter hints inside calls
  • Document Symbols — outline in the Explorer panel
  • Semantic highlighting — only highlights valid variable and type names
  • Document formatting — opinionated pretty-printer with configurable line limit and alignment
  • Shared Imports auto-load — picks up modSharedImports automatically when present (for type resolution)

Requirements

  • Windows (x64). The bundled language server is currently Windows-only.
  • A local Witcher 3 install (recommended). Without one, the extension uses built-in base game scripts instead.

First-run setup

On first install, VS Code opens a Get Started with WitcherScript walkthrough that guides you through pointing the language server at your Witcher 3 install. GOG Game of the Year is detected automatically.

Language server

Language features are provided by witcherscript-lsp, a Rust language server bundled with this extension. The current release ships witcherscript-lsp v0.3.2.

Platforms

Support is exclusively win x64 at present, but there should be no major blockers for porting.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft