Auto Completion Cocos Creator 1.7


#1

Hi, i’m using vscode 1.18.1 for creator editor. unfortunately, auto completion not working properly as I type in editor. I’ve installed vs code workflow. And this is extension in my vscode:



tried open js-test sample but it’s the same. am i missing something ?


Use VSCode to debug cocos2d-x JSB programs
#2

@jare could you please take a look?


#3

or auto completion is basicly the same setting with debugging in this link Use VSCode to debug cocos2d-x JSB programs ?
in this video http://www.bilibili.com/video/av9612124/ it seems the guy success to manage it. but i dont have any idea.
i tried run debugging the result always:


#4

i find out somehow, i recreated project, the problem is i broke the launch json. it’s work now.


#5

Glad to hear that you resolved it. Auto completion is different from debugging, it is another plugin to do it.


#6

yes, but some of code like node or prefab type is lack of auto completion. like this.node.x or this.node.position, information about x and position is not available.


is there any plan for better version auto completion in vscode ?


#7

I forwarded the issue to my co-workers.


#8

thanks for response, I greatly appreciate it