【问题标题】:Coco creator using with VS codeCoco Creator 使用 VS 代码
【发布时间】:2018-02-18 04:45:54
【问题描述】:

vs code 中的代码自动完成和定义不起作用。 我已经完成创建 creator.d.ts 和 jsconfig.json。

【问题讨论】:

    标签: visual-studio-code cocoscreator


    【解决方案1】:

    我有一些预期的解决方案..

    1. 使用 Typescript 创建项目 enter image description here

    2. 编辑器中的配置 enter image description here

      • (开发人员 -> VS Code 工作流程 -> 添加 Typescript 配置)
      • (开发人员 -> VS 代码工作流程 -> 编译任务)
    3. 在 VSCode 中安装 TsLint(Cmd + Shift + P -> “安装扩展” -> TsLint)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-02-23
      • 2016-04-11
      • 1970-01-01
      • 2018-04-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-22
      相关资源
      最近更新 更多