From bc98c02dd0cdc33e3b34c0054c1570702e198d9b Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 9 Mar 2020 19:56:51 +0200 Subject: vscode: prepare package.json for nightlies --- editors/code/package-lock.json | 2 +- editors/code/package.json | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'editors') diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index b07964546..575dc7c4a 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json @@ -1,6 +1,6 @@ { "name": "rust-analyzer", - "version": "0.2.20200211-dev", + "version": "0.2.20200309-nightly", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/editors/code/package.json b/editors/code/package.json index 3aaae357a..faf10528d 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -6,7 +6,7 @@ "private": true, "icon": "icon.png", "//": "The real version is in release.yaml, this one just needs to be bigger", - "version": "0.2.20200211-dev", + "version": "0.2.20200309-nightly", "publisher": "matklad", "repository": { "url": "https://github.com/rust-analyzer/rust-analyzer.git", @@ -219,6 +219,19 @@ } } }, + "rust-analyzer.updates.channel": { + "type": "string", + "enum": [ + "stable", + "nightly" + ], + "default": "stable", + "markdownEnumDescriptions": [ + "`\"stable\"` updates are shipped weekly, they don't contain cutting-edge features from VSCode proposed APIs but have less bugs in general", + "`\"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**" + ], + "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" + }, "rust-analyzer.updates.askBeforeDownload": { "type": "boolean", "default": true, @@ -235,7 +248,7 @@ "string" ], "default": null, - "description": "Path to rust-analyzer executable (points to bundled binary by default)" + "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" }, "rust-analyzer.excludeGlobs": { "type": "array", -- cgit v1.2.3