Skip to content

Instantly share code, notes, and snippets.

@quonic
Created August 5, 2017 15:14
Show Gist options
  • Select an option

  • Save quonic/d7a7d385c85846027a7ca3dd03a0e985 to your computer and use it in GitHub Desktop.

Select an option

Save quonic/d7a7d385c85846027a7ca3dd03a0e985 to your computer and use it in GitHub Desktop.
ScreepsAutocomplete
/// <reference path="ConstructionSite.js" />
/// <reference path="Creep.js" />
/// <reference path="Flag.js" />
/// <reference path="Game.js" />
/// <reference path="Memory.js" />
/// <reference path="Mineral.js" />
/// <reference path="Nuke.js" />
/// <reference path="Order.js" />
/// <reference path="OwnedStructure.js" />
/// <reference path="PathFinder.js" />
/// <reference path="RawMemory.js" />
/// <reference path="Resource.js" />
/// <reference path="Room.js" />
/// <reference path="RoomObject.js" />
/// <reference path="RoomPosition.js" />
/// <reference path="Source.js" />
/// <reference path="Structure.js" />
/// <reference path="Structures/StructureContainer.js" />
/// <reference path="Structures/StructureController.js" />
/// <reference path="Structures/StructureExtension.js" />
/// <reference path="Structures/StructureExtractor.js" />
/// <reference path="Structures/StructureKeeperLair.js" />
/// <reference path="Structures/StructureLab.js" />
/// <reference path="Structures/StructureLink.js" />
/// <reference path="Structures/StructureNuker.js" />
/// <reference path="Structures/StructureObserver.js" />
/// <reference path="Structures/StructurePortal.js" />
/// <reference path="Structures/StructurePowerBank.js" />
/// <reference path="Structures/StructurePowerSpawn.js" />
/// <reference path="Structures/StructureRampart.js" />
/// <reference path="Structures/StructureRoad.js" />
/// <reference path="Structures/StructureSpawn.js" />
/// <reference path="Structures/StructureStorage.js" />
/// <reference path="Structures/StructureTerminal.js" />
/// <reference path="Structures/StructureTower.js" />
/// <reference path="Structures/StructureWall.js" />
/// <reference path="Global/Constants.js" />
@quonic
Copy link
Copy Markdown
Author

quonic commented Aug 7, 2017

Add this to 'ScreepsAutocomplete' folder. As well as add 'jsconfig.json' with the following to the root folder of your project:
{ "compilerOptions": { "target": "ES6" }, "exclude": [ "node_modules" ] } then VSCode will pick up on ScreepsAutocomplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment