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:
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 ?
Hi im using newest cocos creator v1.9, my vscode still dont show up auto completion, i wonder is it because i leave js engine blank ?
because auto completion only show for cc.component, like cc.RotateBy, cc.Moveby, etc but not for node object like label property or x/y position, etc. Sorry for noob question im trying to move from -x to creator.
i did, i simply click update update vs code api and install vs code ext. the problem is when i type like this.node.rotationX , auto completion for rotationX did not show up. Or that feature do not exist yet ?
There’s not really much you have to do. With every project I start I make sure to click all 5 entries in the “VS Code Workflow” and it just works from there. That’s why I think that your VS Code may be borked or there is something installed that overrides the CC configs.
after re-install and delete all of code data, its still not working. the weird thing is when i created new blank js file and tried to type cc and hit “.” it’s type “CSSConditionRule”. what should i do ? it’s look like cc not detected. auto-completion for typescript is working, but not for js file.
this is my project link. i don’t have any idea why it’s not work on my machine