This repository was archived by the owner on Nov 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 1
1
### Unreleased
2
2
3
+ * Don't warn on custom ` rust-client.channel ` value such as ` 1.39.0 ` in properties.json
3
4
* Add a new ` default ` value for ` rust-client.channel ` (same as setting it explicitly to ` null ` )
4
5
* Add a self-closing angular (` > ` ) bracket whenever opening one (` < ` ) has been typed
5
6
* Refresh the RLS spinner 🌕
Original file line number Diff line number Diff line change 193
193
"description" : " Disable usage of rustup and use rustc/rls from PATH."
194
194
},
195
195
"rust-client.channel" : {
196
- "type" : [
197
- " string" ,
198
- " null"
196
+ "anyOf" : [
197
+ {
198
+ "type" : " string"
199
+ },
200
+ {
201
+ "type" : " string" ,
202
+ "enum" : [
203
+ " default" ,
204
+ " stable" ,
205
+ " beta" ,
206
+ " nightly"
207
+ ],
208
+ "enumDescriptions" : [
209
+ " Uses the same channel as your currently open project" ,
210
+ " Explicitly use the `stable` channel" ,
211
+ " Explicitly use the `beta` channel" ,
212
+ " Explicitly use the `nightly` channel"
213
+ ]
214
+ }
199
215
],
200
- "enum" : [
201
- " default" ,
202
- " stable" ,
203
- " beta" ,
204
- " nightly"
205
- ],
206
- "default" : null ,
216
+ "default" : " default" ,
207
217
"description" : " Rust channel to invoke rustup with. Ignored if rustup is disabled. By default, uses the same channel as your currently open project."
208
218
},
209
219
"rust-client.trace.server" : {
You can’t perform that action at this time.
0 commit comments