Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Factorio Lua API autocompleteNew to Visual Studio Code? Get it now.
Factorio Lua API autocomplete

Factorio Lua API autocomplete

Simon Vizzini

|
10,271 installs
| (2) | Free
Autocompletion for the Factorio Lua API
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Factorio API autocomplete extension

Features

  • Autocomplete of all Lua classes and globals

    autocomplete

  • Mouse hover tooltips, with links to the official documentation at http://lua-api.factorio.com

    tooltips

Dev Requirements

Using nvm you can get the correct node version to run the scraper: nvm use.

After this install the necessary modules with npm install.

Update data

Run the scrapper to pull the latest data from the Factorio API documentation: npx ts-node scraper/index.ts

Todo

Features

  • Better support for functions that take tables as argument
  • Function signature hints (registerSignatureHelpProvider)

Technical tasks

  • Instead of storing inherited properties in the data file, they should maybe get looked up during runtime
  • Unit tests

Changelog

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft