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/package.json | 4 ++-- editors/code/src/config.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'editors') diff --git a/editors/code/package.json b/editors/code/package.json index 002293b2e..2a0304376 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -185,7 +185,7 @@ "string" ], "default": null, - "description": "Path to ra_lsp_server executable (points to bundled binary by default)" + "description": "Path to rust-analyzer executable (points to bundled binary by default)" }, "rust-analyzer.excludeGlobs": { "type": "array", @@ -245,7 +245,7 @@ "Full log" ], "default": "off", - "description": "Trace requests to the ra_lsp_server" + "description": "Trace requests to the rust-analyzer" }, "rust-analyzer.lruCapacity": { "type": [ 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