1. 使用creator项目的根目录,作为webstorm项目的根目录


2. 配置并启用node.js 
File -> Settings -> Languages & Frameworks -> Node.js and NPM
cocos creator 使用 Webstorm
cocos creator 使用 Webstorm

3. 过滤.meta等文件 (build目录也可以过滤掉)
File -> Settings -> Editor -> File Types -> Ignore files and folders
cocos creator 使用 Webstorm
4 .把不需要的目录排除,避免太多不需要的提示
cocos creator 使用 Webstorm
5.下载    engine源码    放到项目中,webStorm会主动分析项目中的API,这样就会有提示了(把engine中的bin目录和jsb目录删除这样就不会有过多的提示
cocos creator 使用 Webstorm
如何将 cocos2d 放入到 External Libraies的:
cocos creator 使用 Webstorm

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2021-04-08
  • 2021-05-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
  • 2021-08-21
  • 2021-11-21
  • 2021-07-21
相关资源
相似解决方案