ZBS is an outstanding lua ide and debugger for lua projects. One of its features is LOVE support, but as far as I know, there is no autocomplete for the löve api, so using the love-api-table plus a little bit of lua and löve magic, I have made and extracted the api table for use for ZBS.
If you want to generate updated output.lua
file all you have to do
- is clone this project, and clone the love-api-table to another location.
cd
to this project's location, dolove .
- drag and drop the
love-api.lua
file from thelove-api-table
to the application. - The
output.lua
file will be in theC:\Users\user\AppData\Roaming\LOVE
for Windows.$XDG_DATA_HOME/love/OUTPUT
or~/.local/share/love/OUTPUT
for Linux.
video covering and explaining the script and making the simple gui is here
You don't have to do such as what I've done in the video, you can just copy the content of output.lua and then paste it in ZeroBraneStudio/spec/lua.lua
, near the end of the file.