VS Code extension for REDscript, client for the REDscript IDE.
This extension can be installed from the VSCode marketplace.

To complete the setup, you need to provide the game installation path in preferences:
- error and warning diagnostics
- autocompletion for methods and fields
- hover for function definitions and types
- go-to-definition
- bonus: limited support for redmod (scripted functions)
- workspace symbols
- formatting (beta)
- debugger (requires redscript-dap)
- hooks for external tools
The language server will attempt to load a TOML file named .redscript
from every workspace folder.
This file can contain the following configuration options:
source_roots
allows you to specify source directories where the compiler should look for REDscript files, defaults to["."]
format
block allows you to configure the formatter, you can find the available options here
Here's an example .redscript
file:
source_roots = [".", "../red4ext/plugins"]
[format]
indent = 2
max_width = 80