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.json32
1 files changed, 28 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index e1a70f05c..774fed21d 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -6,7 +6,7 @@
6 "private": true, 6 "private": true,
7 "icon": "icon.png", 7 "icon": "icon.png",
8 "//": "The real version is in release.yaml, this one just needs to be bigger", 8 "//": "The real version is in release.yaml, this one just needs to be bigger",
9 "version": "0.2.0-dev", 9 "version": "0.2.20200211-dev",
10 "publisher": "matklad", 10 "publisher": "matklad",
11 "repository": { 11 "repository": {
12 "url": "https://github.com/rust-analyzer/rust-analyzer.git", 12 "url": "https://github.com/rust-analyzer/rust-analyzer.git",
@@ -187,9 +187,20 @@
187 }, 187 },
188 "rust-analyzer.excludeGlobs": { 188 "rust-analyzer.excludeGlobs": {
189 "type": "array", 189 "type": "array",
190 "items": {
191 "type": "string"
192 },
190 "default": [], 193 "default": [],
191 "description": "Paths to exclude from analysis" 194 "description": "Paths to exclude from analysis"
192 }, 195 },
196 "rust-analyzer.rustfmtArgs": {
197 "type": "array",
198 "items": {
199 "type": "string"
200 },
201 "default": [],
202 "description": "Additional arguments to rustfmt"
203 },
193 "rust-analyzer.useClientWatching": { 204 "rust-analyzer.useClientWatching": {
194 "type": "boolean", 205 "type": "boolean",
195 "default": true, 206 "default": true,
@@ -202,6 +213,9 @@
202 }, 213 },
203 "rust-analyzer.cargo-watch.arguments": { 214 "rust-analyzer.cargo-watch.arguments": {
204 "type": "array", 215 "type": "array",
216 "items": {
217 "type": "string"
218 },
205 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", 219 "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
206 "default": [] 220 "default": []
207 }, 221 },
@@ -233,10 +247,12 @@
233 }, 247 },
234 "rust-analyzer.lruCapacity": { 248 "rust-analyzer.lruCapacity": {
235 "type": [ 249 "type": [
236 "number", 250 "null",
237 "null" 251 "integer"
238 ], 252 ],
239 "default": null, 253 "default": null,
254 "minimum": 0,
255 "exclusiveMinimum": true,
240 "description": "Number of syntax trees rust-analyzer keeps in memory" 256 "description": "Number of syntax trees rust-analyzer keeps in memory"
241 }, 257 },
242 "rust-analyzer.displayInlayHints": { 258 "rust-analyzer.displayInlayHints": {
@@ -245,8 +261,13 @@
245 "description": "Display additional type and parameter information in the editor" 261 "description": "Display additional type and parameter information in the editor"
246 }, 262 },
247 "rust-analyzer.maxInlayHintLength": { 263 "rust-analyzer.maxInlayHintLength": {
248 "type": "number", 264 "type": [
265 "null",
266 "integer"
267 ],
249 "default": 20, 268 "default": 20,
269 "minimum": 0,
270 "exclusiveMinimum": true,
250 "description": "Maximum length for inlay hints" 271 "description": "Maximum length for inlay hints"
251 }, 272 },
252 "rust-analyzer.cargoFeatures.noDefaultFeatures": { 273 "rust-analyzer.cargoFeatures.noDefaultFeatures": {
@@ -261,6 +282,9 @@
261 }, 282 },
262 "rust-analyzer.cargoFeatures.features": { 283 "rust-analyzer.cargoFeatures.features": {
263 "type": "array", 284 "type": "array",
285 "items": {
286 "type": "string"
287 },
264 "default": [], 288 "default": [],
265 "description": "List of features to activate" 289 "description": "List of features to activate"
266 } 290 }