Set of libraries to work with StarCraft II map files.
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.
Parsed AST is fully traversed. Symbol table is being built during indexing process. Typechecker implemented.
Implemented providers:
- Document symbols
- Workspace symbols
- Code completions
- Function signature help
- Symbol definitions
- Symbol hover documentation tooltips
- Find all references
- Rename symbol
- Format code
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.
...
- vscode-sc2-galaxy - Visual Studio Code extension