A small script that goes through the Factorio API documentation html and exports a json intented to be used by autocomplete extensions such as https://github.com/simonvizzini/vscode-factorio-lua-api-autocomplete
Generate LuaDoc from the Factorio API documentation
sumneko/lua-language-server has support for annotated types. This scraper can generate appropriate .lua files so the Visual Studio Code extension can provide auto-completion, documentation and anything else the language server supports.
Generate LuaDoc from the Factorio API documentation
sumneko/lua-language-server has support for annotated types. This scraper can generate appropriate .lua files so the Visual Studio Code extension can provide auto-completion, documentation and anything else the language server supports.