aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json29
1 files changed, 20 insertions, 9 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index f687eb8d4..ed1cae2ab 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -5,7 +5,8 @@
5 "preview": true, 5 "preview": true,
6 "private": true, 6 "private": true,
7 "icon": "icon.png", 7 "icon": "icon.png",
8 "version": "0.1.0", 8 "//": "The real version is in release.yaml, this one just needs to be bigger",
9 "version": "0.2.20200211-dev",
9 "publisher": "matklad", 10 "publisher": "matklad",
10 "repository": { 11 "repository": {
11 "url": "https://github.com/rust-analyzer/rust-analyzer.git", 12 "url": "https://github.com/rust-analyzer/rust-analyzer.git",
@@ -15,7 +16,7 @@
15 "Other" 16 "Other"
16 ], 17 ],
17 "engines": { 18 "engines": {
18 "vscode": "^1.41.0" 19 "vscode": "^1.42.0"
19 }, 20 },
20 "scripts": { 21 "scripts": {
21 "vscode:prepublish": "tsc && rollup -c", 22 "vscode:prepublish": "tsc && rollup -c",
@@ -35,13 +36,13 @@
35 "@types/node": "^12.12.25", 36 "@types/node": "^12.12.25",
36 "@types/node-fetch": "^2.5.4", 37 "@types/node-fetch": "^2.5.4",
37 "@types/throttle-debounce": "^2.1.0", 38 "@types/throttle-debounce": "^2.1.0",
38 "@types/vscode": "^1.41.0", 39 "@types/vscode": "^1.42.0",
39 "rollup": "^1.31.0", 40 "rollup": "^1.31.0",
40 "tslib": "^1.10.0", 41 "tslib": "^1.10.0",
41 "tslint": "^5.20.1", 42 "tslint": "^5.20.1",
42 "typescript": "^3.7.5", 43 "typescript": "^3.7.5",
43 "typescript-formatter": "^7.2.2", 44 "typescript-formatter": "^7.2.2",
44 "vsce": "^1.71.0" 45 "vsce": "^1.73.0"
45 }, 46 },
46 "activationEvents": [ 47 "activationEvents": [
47 "onLanguage:rust", 48 "onLanguage:rust",
@@ -181,6 +182,9 @@
181 }, 182 },
182 "rust-analyzer.excludeGlobs": { 183 "rust-analyzer.excludeGlobs": {
183 "type": "array", 184 "type": "array",
185 "items": {
186 "type": "string"
187 },
184 "default": [], 188 "default": [],
185 "description": "Paths to exclude from analysis" 189 "description": "Paths to exclude from analysis"
186 }, 190 },
@@ -196,6 +200,9 @@
196 }, 200 },
197 "rust-analyzer.cargo-watch.arguments": { 201 "rust-analyzer.cargo-watch.arguments": {
198 "type": "array", 202 "type": "array",
203 "items": {
204 "type": "string"
205 },
199 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", 206 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
200 "default": [] 207 "default": []
201 }, 208 },
@@ -226,11 +233,10 @@
226 "description": "Trace requests to the ra_lsp_server" 233 "description": "Trace requests to the ra_lsp_server"
227 }, 234 },
228 "rust-analyzer.lruCapacity": { 235 "rust-analyzer.lruCapacity": {
229 "type": [ 236 "type": [ "null", "integer" ],
230 "number",
231 "null"
232 ],
233 "default": null, 237 "default": null,
238 "minimum": 0,
239 "exclusiveMinimum": true,
234 "description": "Number of syntax trees rust-analyzer keeps in memory" 240 "description": "Number of syntax trees rust-analyzer keeps in memory"
235 }, 241 },
236 "rust-analyzer.displayInlayHints": { 242 "rust-analyzer.displayInlayHints": {
@@ -239,8 +245,10 @@
239 "description": "Display additional type and parameter information in the editor" 245 "description": "Display additional type and parameter information in the editor"
240 }, 246 },
241 "rust-analyzer.maxInlayHintLength": { 247 "rust-analyzer.maxInlayHintLength": {
242 "type": "number", 248 "type": [ "null", "integer" ],
243 "default": 20, 249 "default": 20,
250 "minimum": 0,
251 "exclusiveMinimum": true,
244 "description": "Maximum length for inlay hints" 252 "description": "Maximum length for inlay hints"
245 }, 253 },
246 "rust-analyzer.cargoFeatures.noDefaultFeatures": { 254 "rust-analyzer.cargoFeatures.noDefaultFeatures": {
@@ -255,6 +263,9 @@
255 }, 263 },
256 "rust-analyzer.cargoFeatures.features": { 264 "rust-analyzer.cargoFeatures.features": {
257 "type": "array", 265 "type": "array",
266 "items": {
267 "type": "string"
268 },
258 "default": [], 269 "default": [],
259 "description": "List of features to activate" 270 "description": "List of features to activate"
260 } 271 }