Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>REDmodScript LangNew to Visual Studio Code? Get it now.
REDmodScript Lang

REDmodScript Lang

alternaut-dev

|
834 installs
| (0) | Free
Syntax highlighting for REDmod '.script' files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

REDmodScript icon

REDmodScript

VSCode syntax highlighting for REDmod '.script' files.

Hastily cobbled together from scratch; partially with ❤️.

Makes browsing CDPR's source scripts subjectively more pleasant. Beyond that, use redscript.

⚠️ This project is solely intended to be used with the related *.script files from CDPR's REDmod modding tool! For syntax highlighting pertaining to the community-created redscript scripting language (*.reds files), please refer to Redscript Syntax Highlighting on the Marketplace.

Notable Coverage

Support for:

  • attributes for class/struct members

    attributes preview

  • runtime defaults for class/struct members

    runtime-defaults preview

  • type-cast overloads

    type-cast-overloads preview

  • operator overloads

    operator-overload preview

  • NULL-type; m_* member variable and known-enum member distinctions

    various coverage preview

  • distinction between CName, TweakDBID, ResRef literals and generic String-literals

    literals preview

    (CName literal is single-quoted):

    cname event preview

Installation

Install directly from VSCode's Extension Manager or via the Marketplace page.

Limitations

  • There is currently no highlighting for comments.

Known Issues

None. However, it should be noted that this extension was only tested against VSCode's Dark+ (default theme).

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