From c0fa5e2246457df10e92c2e11c971f2f40921793 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Feb 2020 12:33:16 +0100 Subject: Rename the binary to rust-analyzer --- editors/code/src/config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editors/code/src') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index fab062dda..7142f72af 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -76,7 +76,7 @@ export class Config { } /** - * Name of the binary artifact for `ra_lsp_server` that is published for + * Name of the binary artifact for `rust-analyzer` that is published for * `platform` on GitHub releases. (It is also stored under the same name when * downloaded by the extension). */ @@ -91,12 +91,12 @@ export class Config { case "arm": case "arm64": return null; - default: return "ra_lsp_server-linux"; + default: return "rust-analyzer-linux"; } } - case "darwin": return "ra_lsp_server-mac"; - case "win32": return "ra_lsp_server-windows.exe"; + case "darwin": return "rust-analyzer-mac"; + case "win32": return "rust-analyzer-windows.exe"; // Users on these platforms yet need to manually build from sources case "aix": -- cgit v1.2.3 From c855e36696afa54260773a6bc8a358df67d60dea Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Feb 2020 12:35:44 +0100 Subject: Rename config value for server Path --- editors/code/src/config.ts | 2 +- editors/code/src/installation/server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src') diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 7142f72af..347c989c4 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -111,7 +111,7 @@ export class Config { } get serverSource(): null | BinarySource { - const serverPath = RA_LSP_DEBUG ?? this.cfg.get("raLspServerPath"); + const serverPath = RA_LSP_DEBUG ?? this.cfg.get("serverPath"); if (serverPath) { return { diff --git a/editors/code/src/installation/server.ts b/editors/code/src/installation/server.ts index 80cb719e3..6e730fbfc 100644 --- a/editors/code/src/installation/server.ts +++ b/editors/code/src/installation/server.ts @@ -29,7 +29,7 @@ export async function ensureServerBinary(source: null | BinarySource): Promise