-
Here is what worked for me to activate Screeps Autocomplete in vscode:
- Clone https://github.com/Garethp/ScreepsAutocomplete
- npm install @types/screeps
- npm install @types/lodash
Restart vscode.
Hope this helps.
-
None of the above worked for me. I had to include a
jsconfig.json
file in my project directory and write{ "typeAcquisition": { "include": ["screeps", "lodash"] } }
More info here https://code.visualstudio.com/docs/nodejs/working-with-javascript
Edited by JS
Please register or sign in to comment