forked from dcwatson/Rust.novaextension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
53 lines (47 loc) · 1.34 KB
/
extension.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
{
"identifier": "net.danwatson.Rust",
"name": "Rust",
"organization": "Dan Watson",
"description": "Syntax highlighting and autocompletion for Rust.",
"version": "1.0.1",
"categories": ["languages", "formatters"],
"repository": "https://github.com/dcwatson/Rust.novaextension",
"bugs": "https://github.com/dcwatson/Rust.novaextension/issues",
"license": "MIT",
"main": "main.js",
"entitlements": {
"process": true,
"filesystem": "readonly"
},
"config": [
{
"key": "rust.rls.path",
"title": "Language Server (rls) Path",
"type": "path",
"placeholder": "~/.cargo/bin/rls"
},
{
"key": "rust.rustfmt.path",
"title": "Formatter (rustfmt) Path",
"type": "path",
"placeholder": "~/.cargo/bin/rustfmt"
}
],
"activationEvents": [
"onLanguage:rust",
"onWorkspaceContains:Cargo.toml"
],
"commands": {
"editor": [
{
"title": "Format",
"command": "rust.format",
"shortcut": "opt-shift-f",
"when": "editorHasFocus",
"filters": {
"syntaxes": ["rust"]
}
}
]
}
}