A better way to write scripts for Call of Duty.

Available for Visual Studio Code VS Code based IDEs

v1.4.0

Script more intelligently

A full-featured language server that understands your GSC and CSC scripts.

Diagnostics

Catch errors before you compile

GSCode analyses your scripts as you type — catching syntax errors, missing references, type mismatches, unused variables, and more.

Ln 1: Unable to locate file 'scripts\shared\shrd.gsh' for insert directive.
Ln 5: The operator '*' is not supported on types 'int' and 'string'.
Ln 11: ';' expected to end return statement.
Language Icon
Documentation

See what your code does

Hover over any function, variable, or property to see its type, parameters, and description — including documentation from a community-led database of built-in functions.

Language Icon
GetWeapon(weaponName, attachmentName1, attachmentName2, ...)

Get the requested weapon object based on game mode agnostic weapon name string.

Parameters:
weaponName The name of the base weapon to return.
attachmentName1 The first attachment name for the weapon.
/@ weapon @/ w_weapon
Completions

Completions that understand your code

Context-aware suggestions for functions, variables, keywords, macros, and file paths — with full signature information and namespace support.

Language Icon
f damage_notify_wrapper function(damage, attacker, ...)
f death_notify_wrapper function(attacker, damageType)
f debug_line function(start, end, ...)
... ... ...

Code Navigation

Jump to any definition, find every reference, and browse symbols across your entire workspace — with full namespace-qualified lookup support.

Workspace Indexing

Index your project for cross-file completions and diagnostics. Choose between partial (fast, signatures only) or full (complete semantic analysis) modes.

Semantic Highlighting

Rich syntax coloring that distinguishes functions, variables, parameters, namespaces, classes, properties, macros, and more.