Create a new empty web site (File -> New -> Web Site -> ASP.NET Empty Web Site) and set the location to the location of your program.Webstorm should automatically detect the library and add it to the autocompletion.
Click OK at the bottom of the "Settings" dialog.Click the Enabled checkbox on the library you just created, make sure it's checked before continuing.Click OK at the bottom of the "Edit Library" dialog.Navigate to the ScreepsAutocomplete folder, select the folder itself and click OK.Click the green plus sign to the right of the listbox below Visibility, then choose "Attach Directories.".Set Framework type to custom, if it is not already so.In the menu bar at the top of the screen, navigate to File -> Settings -> Languages & Frameworks -> JavaScript -> Libraries.Create a new project in Webstorm if you don't already have one and open it.
Instead of copying the ScreepsAutocomplete folder to each and every project folder, you can add it as a global library. This can be done by quite simply copying the ScreepsAutocomplete folder in their project, and Webstorm should automaticallyÄetect it and add it to the autocompletion Adding it as a library
Somewhat in JetBrain's WebStorm How to Install Webstorm (Or Other Jetbrains IDE's) People can thenĪdd this project as a library in their IDE, and their IDE should be able to start autocompleting their code. The purpose of this is to add screeps autocomplete to IDEs by creating a definition from the documents.