下了个论坛的项目,发现代码有提示,请问怎么弄这个提示...

我刚刚才发现写代码可以有提示!请问怎么弄…因为自己现在项目没有提示

https://docs.cocos.com/creator/manual/zh/getting-started/coding-setup.html

应该是项目的问题,我重新创了个helloword都有提示了,但是项目里没有…

用ts去写,2楼都贴链接了

在项目目录创建node_modules/@types/creator/index.d.ts
index.d.ts为ccc导出的creator.d.ts文件。