about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-13 11:26:43 +0000
committerbors <bors@rust-lang.org>2022-05-13 11:26:43 +0000
commitda969635a4a6e2eed930dc81f565390a70512192 (patch)
treeeda20d91b4ff61b0ea2224f36b409f898552225d
parent0c881e882e11137a74e1b185609b9056df0282c1 (diff)
parente47f4597d4929a2a6a0748ca052c6ec81fd1c500 (diff)
downloadrust-da969635a4a6e2eed930dc81f565390a70512192.tar.gz
rust-da969635a4a6e2eed930dc81f565390a70512192.zip
Auto merge of #12238 - Veykril:publisher, r=Veykril
feat: Change VSCode extension publisher to `rust-lang`
-rw-r--r--docs/user/manual.adoc6
-rw-r--r--editors/code/README.md2
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/src/config.ts2
-rw-r--r--editors/code/src/main.ts2
5 files changed, 7 insertions, 7 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 27f10da1032..e8520c66f49 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -61,7 +61,7 @@ The rust-analyzer plugin for VS Code is maintained
 https://github.com/rust-analyzer/rust-analyzer/tree/master/editors/code[in tree].
 
 You can install the latest release of the plugin from
-https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer[the marketplace].
+https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer[the marketplace].
 
 Note that the plugin may cause conflicts with the
 https://marketplace.visualstudio.com/items?itemName=rust-lang.rust[official Rust plugin].
@@ -81,14 +81,14 @@ To disable this notification put the following to `settings.json`
 ----
 ====
 
-The server binary is stored in the extension install directory, which starts with `matklad.rust-analyzer-` and is located under:
+The server binary is stored in the extension install directory, which starts with `rust-lang.rust-analyzer-` and is located under:
 
 * Linux: `~/.vscode/extensions`
 * Linux (Remote, such as WSL): `~/.vscode-server/extensions`
 * macOS: `~/.vscode/extensions`
 * Windows: `%USERPROFILE%\.vscode\extensions`
 
-As an exception, on NixOS, the extension makes a copy of the server and stores it under `~/.config/Code/User/globalStorage/matklad.rust-analyzer`.
+As an exception, on NixOS, the extension makes a copy of the server and stores it under `~/.config/Code/User/globalStorage/rust-lang.rust-analyzer`.
 
 Note that we only support the two most recent versions of VS Code.
 
diff --git a/editors/code/README.md b/editors/code/README.md
index 0f0d292b5c5..9113722632f 100644
--- a/editors/code/README.md
+++ b/editors/code/README.md
@@ -34,7 +34,7 @@ This extension provides support for the [Rust programming language](https://www.
 2. Install the [rust-analyzer extension]
 
 [rustup]: https://rustup.rs
-[rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
+[rust-analyzer extension]: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
 
 ## Configuration
 
diff --git a/editors/code/package.json b/editors/code/package.json
index 7fa04fbb9a7..a88f605f47b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -7,7 +7,7 @@
     "icon": "icon.png",
     "version": "0.4.0-dev",
     "releaseTag": null,
-    "publisher": "matklad",
+    "publisher": "ryst-lang",
     "repository": {
         "url": "https://github.com/rust-analyzer/rust-analyzer.git",
         "type": "git"
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index bf4572fcf61..d34e82a1a6e 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -10,7 +10,7 @@ const NIGHTLY_TAG = "nightly";
 export type RunnableEnvCfg = undefined | Record<string, string> | { mask?: string; env: Record<string, string> }[];
 
 export class Config {
-    readonly extensionId = "matklad.rust-analyzer";
+    readonly extensionId = "rust-lang.rust-analyzer";
 
     readonly rootSection = "rust-analyzer";
     private readonly requiresReloadOpts = [
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 7591865390b..39bd73c6634 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -287,7 +287,7 @@ async function isNixOs(): Promise<boolean> {
 function warnAboutExtensionConflicts() {
     if (vscode.extensions.getExtension("rust-lang.rust")) {
         vscode.window.showWarningMessage(
-            `You have both the rust-analyzer (matklad.rust-analyzer) and Rust (rust-lang.rust) ` +
+            `You have both the rust-analyzer (rust-lang.rust-analyzer) and Rust (rust-lang.rust) ` +
             "plugins enabled. These are known to conflict and cause various functions of " +
             "both plugins to not work correctly. You should disable one of them.", "Got it")
             .then(() => { }, console.error);