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
Setup default jsconfig.json which doesn't exclude anything.
Ctrl+Space (autocomplete) and Cmd+Click (go to definition) don't work.
In ./main.js, try Cmd+Click on cc.view or cc.director. VS Code finds an empty reference to cc in Base64Images.js (var cc = cc || {};) and then can't find anything else in cc like cc.view or cc.director etc...
On opening the same project folder in webstorm, both ctrl+space autocomplete and cmd+click go to definition work as expected. So the problem is not with project or code structure etc.
From @sachingarg05 on July 16, 2016 17:21
Steps to Reproduce:
For example: cocos new -l js WebGame
On opening the same project folder in webstorm, both ctrl+space autocomplete and cmd+click go to definition work as expected. So the problem is not with project or code structure etc.
The Visual Studio team has been working on improving support for Cocos2dx C++ projects.
https://blogs.msdn.microsoft.com/vcblog/2016/07/12/cocos2d-x-visual-studio-android-project/
It will be great if VS Code can support intellisense for large javascript projects like Cocos2dx JS.
Copied from original issue: microsoft/vscode#9391
The text was updated successfully, but these errors were encountered: