Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GameScript Workspace SupportNew to Visual Studio Code? Get it now.
GameScript Workspace Support

GameScript Workspace Support

Ye Olde Games

|
30 installs
| (0) | Free
Adds syntax highlighting, IntelliSense, and diagnostics for the GameScript language in Vscode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GameScript Language Support for Visual Studio Code

Bring the full power of the GameScript language into Visual Studio Code. The extension bundles the Language Server that powers syntax highlighting, completions, diagnostics, code navigation, and more—so you can write your game scripts without leaving your favourite editor.


✨ Key Features

Feature Description
Syntax Highlighting Semantic colour-coding for keywords, types, literals, operators, and comments across .gs, .const, and .context files.
Completions Context-aware completions for functions, labels, commands, variables, constants, and context vars.
Diagnostics Real-time error squiggles for parse errors, undefined symbols, type mismatches, and semantic rule violations.
Hover Tooltips Hover any symbol to see its full signature and any doc-comment attached to its declaration.
Go to Definition Jump to where any symbol is declared—works across files in the workspace.
Find All References See every usage of a symbol across the entire workspace.
Document Highlights All occurrences of the symbol under the cursor are highlighted in the current file.
Rename Symbol Safely rename any symbol across all files in the workspace.
Document Symbols Full outline of the current file (breadcrumbs, Ctrl+Shift+O).
Workspace Symbols Search for any symbol across the whole workspace (Ctrl+T).
ObjectDef Highlighting Syntax highlighting for Object Definition files (.varp, .item, .npc, .menu, .obj, .tile).

(Looking for Visual Studio 2022 support? → check out the GameScript VS 2022 extension.)


📁 Supported File Types

Extension Content
.gs Method definitions (funcs, labels, commands, triggers)
.const Constant declarations
.context Context variable declarations
.varp .item .npc .menu .obj .tile Object Definition files (syntax highlighting only)

🛠️ Getting Started

  1. Install

    • Open the Extensions view (Ctrl + Shift + X) and search for GameScript, or
    • Download the latest .vsix from the releases page and run Extensions › Install from VSIX….
  2. Reload VS Code when prompted.

  3. Open a folder containing your GameScript files — the language server will index the workspace automatically and language features will activate on any supported file.

System Requirements Visual Studio Code 1.90 or later · Windows, macOS, or Linux (x64 / arm64)


🐛 Known Issues / FAQ

If you hit a bug please open an issue with reproduction steps.


📜 License

The extension and bundled Language Server are licensed under the Apache License 2.0.

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