Rename extension config
This commit is contained in:
parent
6f8af890ed
commit
01a5b83562
@ -280,7 +280,7 @@
|
||||
"default": true,
|
||||
"description": "Whether to ask for permission before downloading any files from the Internet."
|
||||
},
|
||||
"rust-analyzer.serverPath": {
|
||||
"rust-analyzer.server.path": {
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
|
@ -93,7 +93,9 @@ export class Config {
|
||||
return this.cfg.get<T>(path)!;
|
||||
}
|
||||
|
||||
get serverPath() { return this.get<null | string>("serverPath"); }
|
||||
get serverPath() {
|
||||
return this.get<null | string>("server.path") ?? this.get<null | string>("serverPath");
|
||||
}
|
||||
get serverExtraEnv() { return this.get<Env | null>("server.extraEnv") ?? {}; }
|
||||
get channel() { return this.get<UpdatesChannel>("updates.channel"); }
|
||||
get askBeforeDownload() { return this.get<boolean>("updates.askBeforeDownload"); }
|
||||
|
Loading…
Reference in New Issue
Block a user