Setting up a scripting environment

While technically you can use any text editor to write lua scripts for utilitybelt, the recommended setup instructions are for Visual Studio Code. The benefits of using the setup below is that it is documented, has debugger support, and will eventually support autocompletion / inline documentation while editing scripts.

Install Visual Studio Code

Download and run the installer from Visual Studio Code.

Install Lua language server for Visual Studio Code

Install the Lua language server extension from the visual studio marketplace.

Optionally installer Lua debugger

Install the MoonSharp Debugger extension from the visual studio marketplace. For instructions on usage, see Debugging

article sidebar here...