-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
58 lines (50 loc) · 1.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "vsc-rustfmt",
"description": "Allows you to run rustfmt from VS Code",
"version": "0.1.0",
"publisher": "Connorcpu",
"engines": {
"vscode": "^0.10.1"
},
"categories": [
"Languages"
],
"activationEvents": [
"onCommand:rustfmt.fmt",
"onLanguage:rust"
],
"extensionDependencies": [
"vscode.rust"
],
"main": "./out/src/extension",
"contributes": {
"commands": [{
"command": "rustfmt.fmt",
"title": "Format with rustfmt"
}]
},
"configuration": {
"type": "object",
"title": "Rustfmt configuration",
"properties": {
"rustfmt.bin": {
"type": "string",
"default": "",
"description": "The path to the rustfmt binary"
},
"rustfmt.formatOnSave": {
"type": "boolean",
"default": true,
"description": "Whether to format Rust code on save"
}
}
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./"
},
"devDependencies": {
"typescript": "^1.6.2",
"vscode": "0.10.x"
}
}