插件开发
官方例子
常用插件
- ES7 React/Redux/GraphQL/React-Native snippets
- Rust
设置
{
"window.title": "${dirty}${activeEditorLong}${separator}${rootName}${separator}${appName}",
"files.exclude":{
"**/*.meta":true
}
"rust.rustfmt_path": "~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rustfmt",
"rust-client.rlsPath": "~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rls",
"editor.formatOnSave": true,
}
cargo源
nano ~/.cargo/config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"