or auto completion is basicly the same setting with debugging in this link Use VSCode to debug cocos2d-x JSB programs ?
in this video cocos creator 教程-脚本_哔哩哔哩_bilibili it seems the guy success to manage it. but i dont have any idea.
i tried run debugging the result always: