Add autocomple and api documentation for Screeps to Visual Studio Code (vscode).
Install typings
npm install typings --global
Install screeps api declarations
npm install screeps-typescript-declarations --save
Add or update "typings.json" in your project directory with:
{ "globalDependencies": { "screeps": "github:screepers/Screeps-Typescript-Declarations/dist/screeps.d.ts#master" } }
And here is my ".eslintrc" for screeps: compilenix.org/cdn/screeps.eslintrc.json