aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
committerAleksey Kladov <[email protected]>2020-02-18 11:33:16 +0000
commitc0fa5e2246457df10e92c2e11c971f2f40921793 (patch)
tree323d890c830b14c222113fa8617070c3b1fde3d2 /editors/code
parent4d307ff8024c8d2d533bc3ab7aac1d63ca5c5977 (diff)
Rename the binary to rust-analyzer
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json4
-rw-r--r--editors/code/src/config.ts8
2 files changed, 6 insertions, 6 deletions
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 @@
185 "string" 185 "string"
186 ], 186 ],
187 "default": null, 187 "default": null,
188 "description": "Path to ra_lsp_server executable (points to bundled binary by default)" 188 "description": "Path to rust-analyzer executable (points to bundled binary by default)"
189 }, 189 },
190 "rust-analyzer.excludeGlobs": { 190 "rust-analyzer.excludeGlobs": {
191 "type": "array", 191 "type": "array",
@@ -245,7 +245,7 @@
245 "Full log" 245 "Full log"
246 ], 246 ],
247 "default": "off", 247 "default": "off",
248 "description": "Trace requests to the ra_lsp_server" 248 "description": "Trace requests to the rust-analyzer"
249 }, 249 },
250 "rust-analyzer.lruCapacity": { 250 "rust-analyzer.lruCapacity": {
251 "type": [ 251 "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 {
76 } 76 }
77 77
78 /** 78 /**
79 * Name of the binary artifact for `ra_lsp_server` that is published for 79 * Name of the binary artifact for `rust-analyzer` that is published for
80 * `platform` on GitHub releases. (It is also stored under the same name when 80 * `platform` on GitHub releases. (It is also stored under the same name when
81 * downloaded by the extension). 81 * downloaded by the extension).
82 */ 82 */
@@ -91,12 +91,12 @@ export class Config {
91 case "arm": 91 case "arm":
92 case "arm64": return null; 92 case "arm64": return null;
93 93
94 default: return "ra_lsp_server-linux"; 94 default: return "rust-analyzer-linux";
95 } 95 }
96 } 96 }
97 97
98 case "darwin": return "ra_lsp_server-mac"; 98 case "darwin": return "rust-analyzer-mac";
99 case "win32": return "ra_lsp_server-windows.exe"; 99 case "win32": return "rust-analyzer-windows.exe";
100 100
101 // Users on these platforms yet need to manually build from sources 101 // Users on these platforms yet need to manually build from sources
102 case "aix": 102 case "aix":