Skip to content

peterekepeter/ucx

Repository files navigation

UCX (Unreal Script Extensions)

Node.js CD Vulnerabilities Bugs Reliability Rating Code Smells Lines of Code Duplicated Lines (%)

Dedicated language support and tooling UnrealScript, with primary focus on UT99.

VsCode Features

  • language:
    • goto definition (Ctrl-Click)
    • find symbols (Ctrl-P @ and Ctrl-P # or Ctrl-T)
    • folding support for defaultproperties, states, labels, replication
    • completion support for methods (partially working)
    • function signature support
    • class hierarcy: (right click on class & select Show Type Hierarchy)
  • formatter:
    • automatic indentation
    • operator spacing
    • keyword casing
    • other spacing / newline rules
    • remove redundant default properties
  • diagnostics:
    • detect syntax parse errors
    • semicolon completion
  • highlight:
    • textmate grammar
    • semantic syntax highlighting

CLI Features

  • lint command
    • runs all checks for given folder or file errors/warning messages inside with file paths and syntax highlighting, great as automated check for PRs
  • build command
    • can be used build system for your unreal script projects
      • can auto generate ini file for build
      • copies files into temporary build folder
      • runs ucc build
    • language extensions
      • moves all code files into Classes subdir, this enables having folder in sources for better project organization while flattening the structure so that its compatible with ucc make
      • basic constant folding
  • wrapper for any ucc command
    • path to UCC configured via env or cli argument
    • supports windows/linux/wine

Installation

Enjoy!

About

UnrealScript Extensions - all in one language support, transformer, formatter, build system

Topics

Resources

License

Stars

Watchers

Forks