I created an extension for Visual Studio Code, which adds IntelliSense features for Ardour Lua scripts. The extension uses Sumneko’s Lua Language Server with EmmyLua annotations. The EmmyLua annotations are automatically generated by web-scraping the Lua Bindings Class Reference.
How does that work? Is it easy to update, or was there manual labor involved?
There might be a simpler way: That html-page is generated from two JSON files: One generated by clang which extracts doxygen comments, and one produced by Ardour that just prints all available bindings). The process is automated ardour/update_luadoc.sh at master · Ardour/ardour · GitHub