You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot get the constants in Global/Constant.js to work with webstorm.
If I just copy the constants into main.js it will autocomplete but when the ScreepsAutocomplete folder is set up as global library or just copied into the project directory the constants are not picked up by webstorm.
The text was updated successfully, but these errors were encountered:
I have exact the same problem and can report the same behaviour which funkimunky described.
I have found a workaround. I added typescript definitions for sreeps from this repository everything works fine. Even if I only work with javascript.
I used npm install @types/screeps in the webstorm console to install it
I cannot get the constants in Global/Constant.js to work with webstorm.
If I just copy the constants into main.js it will autocomplete but when the ScreepsAutocomplete folder is set up as global library or just copied into the project directory the constants are not picked up by webstorm.
The text was updated successfully, but these errors were encountered: