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.
Support for:
-
attributes for
class/struct
members -
runtime defaults for
class/struct
members -
type-
cast overloads
-
operator
overloads
-
NULL
-type;m_*
member variable and known-enum
member distinctions -
distinction between
CName
,TweakDBID
,ResRef
literals and genericString
-literals(
CName
literal is single-quoted):
Install directly from VSCode's Extension Manager or via the Marketplace page.
- There is currently no highlighting for comments.
None. However, it should be noted that this extension was only tested against VSCode's Dark+ (default theme)
.