Page 1 of 1

Autocompletition for Atom

Posted: Tue Aug 23, 2016 10:52 am
by Yokmp
I've written an Autocompletition Provider for the Atom.io Editor.

Image

I've added an attachment.
Removed Attachment. Please use Atom.io or GitHub

Its a whole lot of Snippets in cson format. Current version is Factorio 0.13.16.
Factorio version is 0.15.34 and the snippets are replaced with a json file which provides suggestions to whatever fits the first 3 typed characters,

Re: Autocompletition for Atom

Posted: Tue Aug 23, 2016 10:53 am
by Yokmp
How to generate a Suggestions List for a different Version?
There is a folder called autogen.
Here you can use the PHP-script which generates a json File for your GameVersion.
You can change the settings in settings.inc.php.

You also need PHP 5.x or higher.
Please keep in mind that this Script is not testet with PHP7.

To start the Generation open up a Console and type in

Code: Select all

php start.php
It will now download the latest Version's Doc-Files and convert them into XML Files which then get parsed.
After checking everything an api.json File will be written into the lib Directory.

And that's it.

Re: Autocompletition for Atom

Posted: Fri Aug 25, 2017 9:10 am
by Yokmp
Updated :!:
Switched from coffee to js.
Supports 0.15.34 out of the box.