Spark Ar 代码自动完成在 Visual Studio 代码中不起作用 [英] Spark Ar Code Autocomplete don't works in Visual Studio Code

查看:39
本文介绍了Spark Ar 代码自动完成在 Visual Studio 代码中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

  • 搜索用于 Spark Ar 脚本支持的 VScode 扩展,但不存在.
  • 搜索@types/sparkar,但不存在.
  • 我正在根据

    2) 退出 SparkAr 和 VSCode.

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

    你会得到它!

    I followed de official documentation https://developers.facebook.com/docs/ar-studio/scripting/basics/#code-autocomplete .

    When I edit the script.js in *VScode* into *Mac* or *Windows*, the autocomplite like discribed on docs dont't works.

    • Search a VScode extension for Spark Ar scrips support, but, doesn't exists.
    • Search @types/sparkar, but, doesn't exists.
    • I'm doing a type, based on docs in Scripting Object Reference

    解决方案

    Autocomplete works! I'am using macOS, but steps should be the same on Windows. Here is what I've done to get it:

    1) Install Visual Studio IntelliCode extension

    2)Quit both SparkAr and VSCode.

    3)Open SparkAr and from there open your script.

    And you will get it!

    这篇关于Spark Ar 代码自动完成在 Visual Studio 代码中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆