plaxtony

1.10.5 • Public • Published

Plaxtony

Set of libraries to work with StarCraft II map files.

Galaxy script

Parser

Code parsing implementation was heavly inspiried by TypeScript parser. (Some chunks of code were even directly re-used.)
By a result it is very error tolerant, and can handle most of syntax errors within the code, and proceed with parsing the rest of it.

Static analysis

Parsed AST is fully traversed. Symbol table is being built during indexing process. Typechecker implemented.

Language Server Protocol

Implemented providers:

  • [x] Document symbols
  • [x] Workspace symbols
  • [x] Code completions
  • [x] Function signature help
  • [x] Symbol definitions
  • [x] Symbol hover documentation tooltips
  • [x] Find all references
  • [x] Rename symbol
  • [ ] Format code

Triggers

Basic capabilities of parsing Triggers | TriggerLib | SC2Lib XML files.

  • Elements list with their metadata
  • Associating elements with their auto generated symbols within galaxy code.
  • Elements documentation from TriggerStrings.txt files.

GameData catalogs

...

Usage examples

/plaxtony/

    Package Sidebar

    Install

    npm i plaxtony

    Weekly Downloads

    16

    Version

    1.10.5

    License

    MIT

    Unpacked Size

    1.3 MB

    Total Files

    285

    Last publish

    Collaborators

    • talv