diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 47 |
1 files changed, 32 insertions, 15 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index a0454191a..015b912b3 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -13,7 +13,7 @@ | |||
13 | "Other" | 13 | "Other" |
14 | ], | 14 | ], |
15 | "engines": { | 15 | "engines": { |
16 | "vscode": "^1.31.0" | 16 | "vscode": "^1.33.0" |
17 | }, | 17 | }, |
18 | "scripts": { | 18 | "scripts": { |
19 | "vscode:prepublish": "npm run compile", | 19 | "vscode:prepublish": "npm run compile", |
@@ -31,18 +31,18 @@ | |||
31 | "singleQuote": true | 31 | "singleQuote": true |
32 | }, | 32 | }, |
33 | "dependencies": { | 33 | "dependencies": { |
34 | "vscode-languageclient": "^5.3.0-next.1" | 34 | "vscode-languageclient": "^5.3.0-next.4" |
35 | }, | 35 | }, |
36 | "devDependencies": { | 36 | "devDependencies": { |
37 | "@types/mocha": "^5.2.5", | 37 | "@types/mocha": "^5.2.6", |
38 | "@types/node": "^10.12.24", | 38 | "@types/node": "^10.14.5", |
39 | "prettier": "^1.16.4", | 39 | "prettier": "^1.17.0", |
40 | "tslint": "^5.12.1", | 40 | "shx": "^0.3.1", |
41 | "tslint": "^5.16.0", | ||
41 | "tslint-config-prettier": "^1.18.0", | 42 | "tslint-config-prettier": "^1.18.0", |
42 | "typescript": "^3.3.1", | 43 | "typescript": "^3.4.4", |
43 | "vsce": "^1.57.0", | 44 | "vsce": "^1.59.0", |
44 | "vscode": "^1.1.29", | 45 | "vscode": "^1.1.33" |
45 | "shx": "^0.3.1" | ||
46 | }, | 46 | }, |
47 | "activationEvents": [ | 47 | "activationEvents": [ |
48 | "onLanguage:rust", | 48 | "onLanguage:rust", |
@@ -81,11 +81,6 @@ | |||
81 | "category": "Rust Analyzer" | 81 | "category": "Rust Analyzer" |
82 | }, | 82 | }, |
83 | { | 83 | { |
84 | "command": "rust-analyzer.extendSelection", | ||
85 | "title": "Extend selection", | ||
86 | "category": "Rust Analyzer" | ||
87 | }, | ||
88 | { | ||
89 | "command": "rust-analyzer.matchingBrace", | 84 | "command": "rust-analyzer.matchingBrace", |
90 | "title": "Find matching brace", | 85 | "title": "Find matching brace", |
91 | "category": "Rust Analyzer" | 86 | "category": "Rust Analyzer" |
@@ -119,6 +114,16 @@ | |||
119 | "command": "rust-analyzer.reload", | 114 | "command": "rust-analyzer.reload", |
120 | "title": "Restart server", | 115 | "title": "Restart server", |
121 | "category": "Rust Analyzer" | 116 | "category": "Rust Analyzer" |
117 | }, | ||
118 | { | ||
119 | "command": "rust-analyzer.startCargoWatch", | ||
120 | "title": "Start Cargo Watch", | ||
121 | "category": "Rust Analyzer" | ||
122 | }, | ||
123 | { | ||
124 | "command": "rust-analyzer.stopCargoWatch", | ||
125 | "title": "Stop Cargo Watch", | ||
126 | "category": "Rust Analyzer" | ||
122 | } | 127 | } |
123 | ], | 128 | ], |
124 | "keybindings": [ | 129 | "keybindings": [ |
@@ -250,6 +255,18 @@ | |||
250 | "${workspaceRoot}" | 255 | "${workspaceRoot}" |
251 | ], | 256 | ], |
252 | "pattern": "$rustc" | 257 | "pattern": "$rustc" |
258 | }, | ||
259 | { | ||
260 | "name": "rustc-watch", | ||
261 | "fileLocation": [ | ||
262 | "relative", | ||
263 | "${workspaceRoot}" | ||
264 | ], | ||
265 | "background": { | ||
266 | "beginsPattern": "^\\[Running\\b", | ||
267 | "endsPattern": "^\\[Finished running\\b" | ||
268 | }, | ||
269 | "pattern": "$rustc" | ||
253 | } | 270 | } |
254 | ] | 271 | ] |
255 | } | 272 | } |