Autocompletition for Atom

Tools, that are useful for mod-development.
Post Reply
User avatar
Yokmp
Inserter
Inserter
Posts: 24
Joined: Tue Aug 23, 2016 10:30 am
Contact:

Autocompletition for Atom

Post 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,
Last edited by Yokmp on Wed Aug 30, 2017 6:52 pm, edited 2 times in total.

User avatar
Yokmp
Inserter
Inserter
Posts: 24
Joined: Tue Aug 23, 2016 10:30 am
Contact:

Re: Autocompletition for Atom

Post 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.
Last edited by Yokmp on Wed Aug 30, 2017 7:09 pm, edited 1 time in total.

User avatar
Yokmp
Inserter
Inserter
Posts: 24
Joined: Tue Aug 23, 2016 10:30 am
Contact:

Re: Autocompletition for Atom

Post by Yokmp »

Updated :!:
Switched from coffee to js.
Supports 0.15.34 out of the box.

Post Reply

Return to “Development-Tools”