-
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
creep.moveTo function #43
Comments
Hey mate. You closed this issue about four hours after opening. Did you find a fix? Was it not an issue? |
I closed it because it seemed to fix itself, However, I do seem to get this kind of issue with other things too, it seems to happen with some self-defined functions and modules? I'm not entirely sure. It also seems to underline "_". At this point, I'm kind of just at a loss for what causes it. (This is using Webstorm by the way. It's set up as an external library.) |
Hm... if you're able to re-produce this at some point, can you paste your code here, or as a gist? Maybe I can see what's going on then |
I've got the same issue with moveTo not being recognized anywhere in PhpStorm for example: https://gist.github.com/Amadox/25addf96c2002f984d636baa3b5a05ea underlining happens both in line 15 and 27. |
Hey, can you take a look at this issue and tell me if it fixes your problem? |
I have the same problem and the workarounds did not really work... but I try to find out more later |
ok .. I have used jsdoc to create a documentation for dash (https://kapeli.com/dash) .. and it also misses the It worked after I deleted the |
I have created a branch with a fix, but I need to test it more in the afternoon. It is working for me with the jsdoc generator and it looks like it is working in webstorm. https://github.com/bastianh/ScreepsAutocomplete/commit/7fd04f23e692fc84f6ff05c5b0c070b3cb1bf313 |
@bastianh Took a look at your changes and tried them out... seems to work as long as the One contributing factor seems to be in the fact that Webstorm operates in an ambiguous fashion when asserting the attribute against the jsdocs. Trying other combinations such as |
I can't really help with this anymore... I switched to using typescript in december ,) |
For some reason, everything seems to work except when I use the creep.moveTo(); function "moveTo" gets underlined as an "unresolved function or method". Any idea why?
The text was updated successfully, but these errors were encountered: