Rich set of utilities providing IDE like capabilities for StarCraft 2 Galaxy Script language, as Visual Studio Code extension.
- Code syntax highlighting:
- Basic completion snippets.
- Real time code diagnostics - syntax validation, as well as typechecking.
- Context aware code completions.
- Signature help for functions.
- Document and workspace symbols navigation list.
- Symbol definitions provider (goto click).
<kbd>Ctrl</kbd>
Click on identifier will go to its declaration. - Tooltips when hovering over symbol identifiers.
- Find all symbol references
- Symbol rename command
- Indexing of
Trigger
scheme files to extract elements metadata and associate it with their auto-generated symbols. This allows it to provide localized documentation, aswell better code completions for things like presets. - Indexing of game data
*Data.xml
files. To provide code completions ofgamelink
types. (i.e. complete list of available units will be provided for functions such asUnitCreate
).
Notice: Actual indexing logic is provided by plaxtony library. This extension is merely a wrapper.
- Format code command (pretty print)
Prioritizing preset constants when valid (function must declare preset type within Triggers metadata).
Gamelinks suggestions (units, effects etc.)
picture missing