Skip to content

Commit bc98c02

Browse files
author
Veetaha
committed
vscode: prepare package.json for nightlies
1 parent 0f826ae commit bc98c02

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

editors/code/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

editors/code/package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"icon": "icon.png",
88
"//": "The real version is in release.yaml, this one just needs to be bigger",
9-
"version": "0.2.20200211-dev",
9+
"version": "0.2.20200309-nightly",
1010
"publisher": "matklad",
1111
"repository": {
1212
"url": "https://github.com/rust-analyzer/rust-analyzer.git",
@@ -219,6 +219,19 @@
219219
}
220220
}
221221
},
222+
"rust-analyzer.updates.channel": {
223+
"type": "string",
224+
"enum": [
225+
"stable",
226+
"nightly"
227+
],
228+
"default": "stable",
229+
"markdownEnumDescriptions": [
230+
"`\"stable\"` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general",
231+
"`\"nightly\"` updates are shipped daily, they contain cutting-edge features and latest bug fixes. These releases help us get your feedback very quickly and speed up rust-analyzer development **drastically**"
232+
],
233+
"markdownDescription": "Choose `\"nightly\"` updates to get the latest features and bug fixes every day. While `\"stable\"` releases occur weekly and don't contain cutting-edge features from VSCode proposed APIs"
234+
},
222235
"rust-analyzer.updates.askBeforeDownload": {
223236
"type": "boolean",
224237
"default": true,
@@ -235,7 +248,7 @@
235248
"string"
236249
],
237250
"default": null,
238-
"description": "Path to rust-analyzer executable (points to bundled binary by default)"
251+
"description": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then \"rust-analyzer.updates.channel\" setting is not used"
239252
},
240253
"rust-analyzer.excludeGlobs": {
241254
"type": "array",

0 commit comments

Comments
 (0)