spiwn / FactorioApiScraper

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate LuaDoc

spiwn opened this issue · comments

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.

The branch lua-doc is for the development of this feature.
First preview release is available.