Ma3 Lua APIA VS Code extension for the Grand Ma 3 Lua Api, it provide autocomplete and documentation for functions to write Grand Ma 3 plugins. SuggestionsWhen typing the extension provide functions related to the selected API version.
AutocompleteWhen you select a suggested function, the extension add automatically functions parameters.
Autocomplete are available for Enums and keys:
DocumentationThe extension provide documentation and examples with a mouse over popup.
The extension also references functions that are not documented in the official manual, so the popup displays the description provided by the HelpLua command.
API version selectionThe VS Code bottom toolbar display the actual Ma3 API version.
Clicking on this toolbar button will open a quick pick menu that allow you to:
How to contributeThis is an open source project, feel free to contribute by making pull requests. What do you need
File organizationAll the extension data is in the resources folder, that folder contain a folder for each Ma3 version, each folder contain:
To update or complete the documented filesThis image explain how to fill the json files according to the Ma help pages that corresponding to the version.
To update or complete the dummy fileThis file contain dummy functions with input parameters, you have to enumerate all parameters types, if they are optional, if they can be nil and the return type:
Test your modification and then, start a pull request! ⚠ Disclaimer |