Closed sublimelsp-app[bot] closed 7 months ago
Following are the settings schema changes between tags 2024-01-15
and 2024-01-22
. Make sure that those are reflected in LSP-rust-analyzer.sublime-settings
and sublime-package.json
files.
--- /dev/fd/63 2024-01-26 22:38:32.601287339 +0000
+++ /dev/fd/62 2024-01-26 22:38:32.601287339 +0000
@@ -331,6 +331,11 @@
"string"
]
},
+ "rust-analyzer.cargo.sysrootQueryMetadata": {
+ "markdownDescription": "Whether to run cargo metadata on the sysroot library allowing rust-analyzer to analyze\nthird-party dependencies of the standard libraries.\n\nThis will cause `cargo` to create a lockfile in your sysroot directory. rust-analyzer\nwill attempt to clean up afterwards, but nevertheless requires the location to be\nwritable to.",
+ "default": false,
+ "type": "boolean"
+ },
"rust-analyzer.cargo.sysrootSrc": {
"markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
"default": null,
@@ -798,13 +803,15 @@
"preserve",
"crate",
"module",
- "item"
+ "item",
+ "one"
],
"enumDescriptions": [
"Do not change the granularity of any imports and preserve the original structure written by the developer.",
"Merge imports from the same crate into a single use statement. Conversely, imports from different crates are split into separate statements.",
"Merge imports from the same module into a single use statement. Conversely, imports from different modules are split into separate statements.",
- "Flatten imports so that each has its own use statement."
+ "Flatten imports so that each has its own use statement.",
+ "Merge all imports into a single use statement as long as they have the same visibility and attributes."
]
},
"rust-analyzer.imports.group.enable": {
@@ -1181,6 +1188,11 @@
"default": false,
"type": "boolean"
},
+ "rust-analyzer.rename.allowExternalItems": {
+ "markdownDescription": "Allow renaming of items not belonging to the loaded workspaces.",
+ "default": false,
+ "type": "boolean"
+ },
"rust-analyzer.runnables.command": {
"markdownDescription": "Command to be executed instead of 'cargo' for runnables.",
"default": null,
Update rust-analyzer from 2024-01-15 to 2024-01-22 (see all changes).