eyza-cod2 / vscode-cod-gsc

GNU General Public License v3.0
5 stars 0 forks source link

CoD GSC extension for VS Code

This extension adds language support for the GSC scripts used in Call of Duty (CoD1, CoD2, CoD3, CoD4, CoD5:WaW, CoD6:MW2, COD7:BO1).

This extension is still under development and is not fully finished. Check the list of the available features in List of features.

Supported games

Game Status Tested with
CoD1 ✅ Tested raw files
CoD2 ✅ Tested raw files
zPAM 3.33 mod - https://github.com/eyza-cod2/zpam3
CoD4 ✅ Tested raw files
Promod 2.20 mod - https://github.com/promod/promod4
OpenWarfare mod - https://github.com/cod4mw/openwarfare
CoD5 ❌ Not tested -
CoD6:MW2 ❌ Not tested -
CoD7:BO1 ✅ Tested Redemption mod - https://github.com/roachnacs/redemption-bo1-gsc
Reimagined zombies mod - https://github.com/Jbleezy/BO1-Reimagined
Other 🚫 Not supported

Games released later will not be supported because the GSC syntax changed significantly since then.

Features

Syntax highlighting

Syntax highlight

Completion items (local functions)

Completion

Completion items (included functions)

Completion

Completion items (with CoD2 MP functions)

Completion

Completion items (variables)

Completion

Completion items (variables with recognized variable type)

Completion

Completion items (variables from included workspace folders)

Completion

Diagnostics

Completion

Diagnostics - invalid file for #include

Completion

Function definition

Function definition

Function hover info

Function hover

Function hover info over CoD2 MP function spawn:

Function hover

Code actions (include folder for file references)

Function hover

Code actions (ignore missing files)

Function hover

Workspace folders

Function hover

Status bar

Function hover

List of features

TODO

Install

This extension is available through Visual Studio Marketplace.

Support

Please test this extension in vscode on your GSC files and report bugs / suggestions on the github page or on discord KILLTUBE #vscode-cod-gsc

Donate with PayPal