In the first tutorial we set up the Screeps IDE. Before you jump right into coding you may want to finish setting up your environment. We will now finish setting up the “atom-ternjs-screeps” plugin.
The first thing is downloading the autocomplete library here. Click the green clone or download button and then download the zip file.
Finding the Folder Location
In the red area of the photo near the bottom you can see the project folder location. Now if you go to File -> Open Folder you can view the folder in the windows file explorer. Drag the unzipped autocomplete folder into this folder location.
Go to Packages -> Atom Ternjs -> Configure project. In the loadEagerly section paste “ScreepsAutocomplete-master/**/*.js” Make sure that the folder you unzipped has the same name as what you paste. Next scroll to the bottom of the settings section and click “Save & Restart Server.”
Now you should get a list of suggestions while you are coding. This can be helpful in conjunction with the official API documentation.
Now that you have your IDE completely setup we can move onto coding.