Coder Social home page Coder Social logo

vscode-jsbox's People

Contributors

cyanzhong avatar fcrespo82 avatar miniers avatar nella17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-jsbox's Issues

Set Host 命令无法使用

package.json 文件中 Set Host 命令设置错误,导致命令无法调用。
command 的描述应该为 setHost,而不是 extension.setHost

Prettier complains about use of await

The following test script to retrieve phone numbers from $contact executes fine in JSBox:

/** @format */

const contacts = await $contact.fetch({key: 'FSG'});
let numbers = [];
for (let c of contacts) {
    console.log(`${c.givenName} ${c.familyName}`);
    for (let p of c.phoneNumbers) {
        if (p["label"] == "_$!<Mobile>!$_") {
            numbers.push(p["content"]);
        }
    }
}
console.log(numbers);

But in vscode, Prettier throws this error every time I save the file:

await is a reserved word (3:17)
  1 | /** @format */
  2 | 
> 3 | const contacts = await $contact.fetch({key: 'FSG'});
    |                  ^
  4 | let numbers = [];
  5 | for (let c of contacts) {
  6 |     console.log(`${c.givenName} ${c.familyName}`);

I'm new to the async stuff so I may have something wrong here, but it seems in line with the documentation. I've tried many variations, including wrapping the call to $contact in an anonymous async function, but I always get some kind of error. Am I missing something?

Thanks!
Nick

文件同步和文件下载的问题

钟大你好~

这个插件的 README 可否添加一个创建project的说明, 没有 ["assets", "scripts", "strings", "main.js", "config.json"] 就不能自动同步.... 或者添加一个自动生成project的功能

另外有两个问题求解:

  1. 我尝试了一下, shift+command+p 执行 JSBox: Download File 命令, 选择指定的 project之后, 下载下来的zip是个空文件.... 这个我不知道问题出在哪里...

  2. shift+command+p 执行 JSBox: Sync File 后, 直接报错, 不知道是什么原因. 我对新建项目和 已经同步过一次的项目都尝试了, 都报错.

image

Extension issue

  • Issue Type: Bug
  • Extension Name: jsbox
  • Extension Version: 0.0.19
  • OS Version: Darwin x64 18.5.0
  • VSCode version: 1.52.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.