GSC Language Server (gsclsp)
VS Code extension for the GSC language server used in older Call of Duty titles.
Features
- Language Server Protocol support for
.gsc files
- Auto-downloads
gsclsp and its dependency gscp, with automatic updates
- Optional override to use a custom
gsclsp binary
Install
Install the extension from the VS Code Marketplace. On first open of a .gsc file, the extension downloads:
gsclsp from maxvanasten/gsclsp Releases
gscp from maxvanasten/gscp Releases
Both binaries are stored in the extension's global storage directory.
Configuration
| Setting |
Description |
Default |
gsclsp.path |
Path to a custom gsclsp binary. When set, auto-download is skipped. |
"" |
gsclsp.updates.enabled |
Enable automatic updates for gsclsp and gscp binaries. |
true |
gsclsp.updates.check |
How often to check GitHub Releases for updated binaries (always, daily, weekly, never). |
always |
gsclsp.trace.server |
Trace level for the language server (off, messages, verbose). |
off |
Commands
| Command |
Description |
GSC: Update gsclsp Binaries |
Force-refresh gsclsp and gscp from GitHub Releases. |
Troubleshooting
- If auto-download fails, you can manually download the binaries from GitHub Releases and set
gsclsp.path.
- Check the output channel named
gsclsp for logs.
License
MIT
| |