This tool generates .lua files based on an existing Google docs spreadsheet in order to provide intellisense in Visual Studio Code.
Generated based on data from
- Vehicles Lua: https://docs.google.com/spreadsheets/d/1tCvYSzxnr5lWduKlePKg4FerpeKHbKTmwmAxlnjZ_Go/
- Mission Lua: https://docs.google.com/spreadsheets/d/1joiH8eu6LOE76lL0ijNoUe-3VsVDfMkAnfHY-trCt9Y/
Latest files can be found here.
Made for Visual Studio code with the Lua extension.
When editing a mission (or extracted vehicle Lua) script, open the mission's directory with VS Code via File -> Open Folder...
Drop the docs-missions.lua or docs-vehicles.lua from the latest release file in the same directory as the script you're working on, and viola!
If you're working with vehicle Lua, I recommend using Stormworks Lua Extract. It will read and write the Lua in your vehicles directly to your disk as .lua files, allowing you to edit them in VS code, and simply reload the vehicle in the editor to get your latest changes.