types - Spark Ar Code 自动完成功能在 Visual Studio Code 中不起作用

标签 types visual-studio-code intellisense spark-ar-studio

我遵循了官方文档 https://developers.facebook.com/docs/ar-studio/scripting/basics/#code-autocomplete 。

当我将 *VScode* 中的 script.js 编辑到 *Mac* 或 *Windows* 时,文档中描述的自动完成不起作用。

  • 搜索 VScode 扩展以获取 Spark Ar 脚本支持,但不存在。
  • 搜索@types/sparkar,但不存在。
  • 我正在做一个类型,基于 Scripting Object Reference 中的文档

最佳答案

自动完成功能!我使用的是 macOS,但步骤在 Windows 上应该是相同的。这是我为获得它所做的工作:

1) 安装 Visual Studio IntelliCode 扩展

enter image description here

2) 退出 SparkAr 和 VSCode。

enter image description here

3) 打开 SparkAr 并从那里打开您的脚本。

你会得到它的!

enter image description here

关于types - Spark Ar Code 自动完成功能在 Visual Studio Code 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57339490/

相关文章:

visual-studio-2013 - Visual Studio 2013 IntelliSense 停止为 ASP.NET MVC5 Controller 工作

c# - MVC 4 IntelliSense 在 Visual Studio 2010 中的 Razor 中不起作用

haskell - 种类有什么用吗?

python - 在遍历可变容器(例如列表)时更改 python 不可变类型

c# - typeof 和 is 关键字有什么区别?

visual-studio-code - Launch.json : how to reference an environment variable

haskell - 为什么我的 Haskell 函数参数必须是 Bool 类型?

npm - 如何在 Visual Studio Code 中获取 Live Server 的外部 URL?

intellij-idea - 等效于Webstorm/IntelliJ扩展选择的Visual Studio Code快捷方式

c# - 为什么 Visual Studio Code 没有针对 Unity 关键字(例如 transform 或 Vector3)的智能感知?