• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

provider-factrio-lua-api

Factorio's Lua API autocomplete support in Atom
  • #autocomplete
  • #provider
  • #factorio
Yokmp
1.1.2 467
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-autocomplete-factorio

An autocomplete for Factorios LUA-API. Docs can be found online at http://lua-api.factorio.com/latest/index.html. Or under docs-html in you local Factorio installation.

ScreenShot

Updates

  • Rewrote from scratch and switched from coffee to js
  • Removed Snippets
  • automatically (de)activates when editing LUA-files
  • Fixed autogeneration Scripts

Known Issues

  • Due to Factorios incoherent html files it is not always possible to get everything at it's preg_replace
  • Toggle doesn't work atm
  • When the Devs update their Docs then expect the autogen Script to fail

ToDo

  • rewrite autogeneration scripts :- use only one language - Done :- a better method to get the type - testing :- implement the posibility to use the local Documentation as source

Factorio Lua API autocomplete for Atom. Factorio version in this Package is 0.15.34. To create one for your version please scoll down.

Forum topic - Autocomplete for Atom

How to create Suggestions for another Version?

You need PHP 5.x, so get that first I didn't test it with PHP7 so expect the script to fail. There is an option to enable debug mode. To enable this, open up the settings.inc.php file and set DEBUG = true This will download both HTML files, converts them, creates the json file and saves everything under :- ./autogen/builtins.xml :- ./autogen/classes.xml :- ./autogen/test.json

  • Download and install PHP5+.
  • Get this Repository.
  • Now your downloaded Repo.
  • Start a Shell and navigate to .atom/packages/autocomplete-lua-factorio/autogen/.
  • In your shell, type php start.php.
  • You can do some configurations in settings.inc.php.
  • Wait.
  • Restart Atom or press [CTRL]+[SHIFT]+[F5] to reload.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by