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
MIT License
3 stars 1 forks source link

Generate LuaDoc #3

Open spiwn opened 3 years ago

spiwn commented 3 years ago

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.

spiwn commented 3 years ago

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