Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rust-analyzer to 2024-11-25 #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sublimelsp-app[bot]
Copy link
Contributor

@sublimelsp-app sublimelsp-app bot commented Oct 21, 2024

Update rust-analyzer from 2024-10-14 to 2024-11-25 (see all changes).

Copy link
Contributor

github-actions bot commented Oct 21, 2024

Following are the settings schema changes between tags 2024-10-14 and 2024-11-25. Make sure that those are reflected in LSP-rust-analyzer.sublime-settings and sublime-package.json files.

--- /dev/fd/63	2024-11-25 07:29:04.907267312 +0000
+++ /dev/fd/62	2024-11-25 07:29:04.911267264 +0000
@@ -26,6 +26,11 @@
         "markdownDescription": "Whether to show the test explorer.",
         "default": false,
         "type": "boolean"
+      },
+      "rust-analyzer.initializeStopped": {
+        "markdownDescription": "Do not start rust-analyzer server when the extension is activated.",
+        "default": false,
+        "type": "boolean"
       }
     }
   },
@@ -162,15 +167,19 @@
         "type": "string",
         "enum": [
           "auto",
+          "llvm-vs-code-extensions.lldb-dap",
           "vadimcn.vscode-lldb",
-          "ms-vscode.cpptools"
+          "ms-vscode.cpptools",
+          "webfreak.debug"
         ],
         "default": "auto",
         "description": "Preferred debug engine.",
         "markdownEnumDescriptions": [
-          "First try to use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), if it's not installed try to use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools).",
+          "Use the first available extension out of [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap), [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb), [C/C++ for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools), and [Native Debug](https://marketplace.visualstudio.com/items?itemName=webfreak.debug).",
+          "Use [LLDB DAP](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.lldb-dap)",
           "Use [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)",
-          "Use [MS C++ tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)"
+          "Use [C/C++ for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools)",
+          "Use [Native Debug](https://marketplace.visualstudio.com/items?itemName=webfreak.debug)"
         ]
       },
       "rust-analyzer.debug.sourceFileMap": {
@@ -405,8 +414,8 @@
       "rust-analyzer.cargo.cfgs": {
         "markdownDescription": "List of cfg options to enable with the given values.",
         "default": {
-          "debug_assertions": null,
-          "miri": null
+          "miri": null,
+          "debug_assertions": null
         },
         "type": "object"
       }
@@ -829,18 +838,10 @@
       "rust-analyzer.completion.snippets.custom": {
         "markdownDescription": "Custom completion snippets.",
         "default": {
-          "Arc::new": {
-            "postfix": "arc",
-            "body": "Arc::new(${receiver})",
-            "requires": "std::sync::Arc",
-            "description": "Put the expression into an `Arc`",
-            "scope": "expr"
-          },
-          "Rc::new": {
-            "postfix": "rc",
-            "body": "Rc::new(${receiver})",
-            "requires": "std::rc::Rc",
-            "description": "Put the expression into an `Rc`",
+          "Ok": {
+            "postfix": "ok",
+            "body": "Ok(${receiver})",
+            "description": "Wrap the expression in a `Result::Ok`",
             "scope": "expr"
           },
           "Box::pin": {
@@ -850,10 +851,11 @@
             "description": "Put the expression into a pinned `Box`",
             "scope": "expr"
           },
-          "Err": {
-            "postfix": "err",
-            "body": "Err(${receiver})",
-            "description": "Wrap the expression in a `Result::Err`",
+          "Arc::new": {
+            "postfix": "arc",
+            "body": "Arc::new(${receiver})",
+            "requires": "std::sync::Arc",
+            "description": "Put the expression into an `Arc`",
             "scope": "expr"
           },
           "Some": {
@@ -862,10 +864,17 @@
             "description": "Wrap the expression in an `Option::Some`",
             "scope": "expr"
           },
-          "Ok": {
-            "postfix": "ok",
-            "body": "Ok(${receiver})",
-            "description": "Wrap the expression in a `Result::Ok`",
+          "Err": {
+            "postfix": "err",
+            "body": "Err(${receiver})",
+            "description": "Wrap the expression in a `Result::Err`",
+            "scope": "expr"
+          },
+          "Rc::new": {
+            "postfix": "rc",
+            "body": "Rc::new(${receiver})",
+            "requires": "std::rc::Rc",
+            "description": "Put the expression into an `Rc`",
             "scope": "expr"
           }
         },
@@ -2010,7 +2019,7 @@
     "title": "references",
     "properties": {
       "rust-analyzer.references.excludeTests": {
-        "markdownDescription": "Exclude tests from find-all-references.",
+        "markdownDescription": "Exclude tests from find-all-references and call-hierarchy.",
         "default": false,
         "type": "boolean"
       }

@sublimelsp-app sublimelsp-app bot changed the title update rust-analyzer to 2024-10-21 update rust-analyzer to 2024-10-28 Oct 28, 2024
@sublimelsp-app sublimelsp-app bot changed the title update rust-analyzer to 2024-10-28 update rust-analyzer to 2024-11-04 Nov 5, 2024
@sublimelsp-app sublimelsp-app bot changed the title update rust-analyzer to 2024-11-04 update rust-analyzer to 2024-11-11 Nov 11, 2024
@sublimelsp-app sublimelsp-app bot changed the title update rust-analyzer to 2024-11-11 update rust-analyzer to 2024-11-18 Nov 18, 2024
@sublimelsp-app sublimelsp-app bot changed the title update rust-analyzer to 2024-11-18 update rust-analyzer to 2024-11-25 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant