Skip to content

jac3km4/redscript-ide-vscode

Repository files navigation

redscript-ide-vscode

VS Code extension for REDscript, client for the REDscript IDE.

installation

This extension can be installed from the VSCode marketplace.

To complete the setup, you need to provide the game installation path in preferences:

features

  • 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

ide-gif

configuration

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

About

VS Code extension for redscript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •