-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Integration #48
Comments
On further testing in VS, I found that it's simply not treating the result of Game.spawns['Spawn1'] as a Spawn object. Using the code 'var testspawn = new Spawn(); testspawn.' will show the autocomplete functions correctly. |
I can confirm this issue. It's weird because Game.spawns is clearly labeled as |
Stuff like room.storage is not recognized as StructureStorage either =/ |
I found the issue. For VS IntelliSense to work you need to use comments of this stlye: If I replace the comment for Room.storage like this, it works:
using |
Ok there is a better way: So if you replace this:
with this:
It works. I replaced |
had some problems finding out what to change. give me a list of files to update, and some info on what parts and i will fix |
so all "@type"? |
what is the difference |
I'm getting the above error when attempting to integrate the ScreepsAutocomplete into Visual Studio 2015. The only thing that is successfully being autocompleted is Game. I followed the instructions and added the _references.js file correctly. I also followed instructions from another site that makes Intellisense recognize the _references.js as a proper reference file.
The text was updated successfully, but these errors were encountered: