cyanzhong / vscode-jsbox Goto Github PK
View Code? Open in Web Editor NEWJSBox Development Utilities on VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=Ying.jsbox
JSBox Development Utilities on VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=Ying.jsbox
package.json 文件中 Set Host 命令设置错误,导致命令无法调用。
command 的描述应该为 setHost,而不是 extension.setHost
e
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
Performance
jsbox
0.0.19
Darwin x64 20.3.0
1.57.1
/var/folders/qv/gs8swj5d3pvfv0stq3krtbv00000gn/T/Ying.jsbox-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
$device's isDarkMode property doesn't show when type dot after $device.
钟大你好~
这个插件的 README 可否添加一个创建project的说明, 没有 ["assets", "scripts", "strings", "main.js", "config.json"]
就不能自动同步.... 或者添加一个自动生成project的功能
另外有两个问题求解:
我尝试了一下, shift+command+p
执行 JSBox: Download File
命令, 选择指定的 project之后, 下载下来的zip是个空文件.... 这个我不知道问题出在哪里...
shift+command+p
执行 JSBox: Sync File
后, 直接报错, 不知道是什么原因. 我对新建项目和 已经同步过一次的项目都尝试了, 都报错.
Bug
jsbox
0.0.19
Darwin x64 18.5.0
1.52.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.