-
Notifications
You must be signed in to change notification settings - Fork 11
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 2025-01-13 #147
Open
sublimelsp-app
wants to merge
1
commit into
main
Choose a base branch
from
create-pull-request/patch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following are the settings schema changes between tags --- /dev/fd/63 2025-01-13 07:27:03.432881091 +0000
+++ /dev/fd/62 2025-01-13 07:27:03.432881091 +0000
@@ -22,6 +22,11 @@
"default": true,
"type": "boolean"
},
+ "rust-analyzer.showSyntaxTree": {
+ "markdownDescription": "Whether to show the syntax tree view.",
+ "default": true,
+ "type": "boolean"
+ },
"rust-analyzer.testExplorer": {
"markdownDescription": "Whether to show the test explorer.",
"default": false,
@@ -84,6 +89,11 @@
"$rustc"
],
"markdownDescription": "Problem matchers to use for `rust-analyzer.run` command, eg `[\"$rustc\", \"$rust-panic\"]`."
+ },
+ "rust-analyzer.runnables.askBeforeUpdateTest": {
+ "type": "boolean",
+ "default": true,
+ "markdownDescription": "Ask before updating the test when running it."
}
}
},
@@ -102,6 +112,56 @@
],
"default": "openLogs",
"markdownDescription": "Action to run when clicking the extension status bar item."
+ },
+ "rust-analyzer.statusBar.showStatusBar": {
+ "markdownDescription": "When to show the extension status bar.\n\n`\"always\"` Always show the status bar.\n\n`\"never\"` Never show the status bar.\n\n`{ documentSelector: <DocumentSelector>[] }` Show the status bar if the open file matches any of the given document selectors.\n\nSee [VS Code -- DocumentSelector](https://code.visualstudio.com/api/references/document-selector) for more information.",
+ "anyOf": [
+ {
+ "type": "string",
+ "enum": [
+ "always",
+ "never"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "documentSelector": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "language": {
+ "type": "string"
+ },
+ "notebookType": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ },
+ "pattern": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ ],
+ "default": {
+ "documentSelector": [
+ {
+ "language": "rust"
+ },
+ {
+ "pattern": "**/Cargo.toml"
+ },
+ {
+ "pattern": "**/Cargo.lock"
+ }
+ ]
+ }
}
}
},
@@ -413,11 +473,14 @@
"properties": {
"rust-analyzer.cargo.cfgs": {
"markdownDescription": "List of cfg options to enable with the given values.",
- "default": {
- "miri": null,
- "debug_assertions": null
- },
- "type": "object"
+ "default": [
+ "debug_assertion",
+ "miri"
+ ],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
}
},
@@ -496,24 +559,6 @@
{
"title": "cargo",
"properties": {
- "rust-analyzer.cargo.sysrootQueryMetadata": {
- "markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
- "default": "cargo_metadata",
- "type": "string",
- "enum": [
- "none",
- "cargo_metadata"
- ],
- "enumDescriptions": [
- "Do not query sysroot metadata, always use stitched sysroot.",
- "Use `cargo metadata` to query sysroot metadata."
- ]
- }
- }
- },
- {
- "title": "cargo",
- "properties": {
"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,
@@ -528,7 +573,7 @@
"title": "cargo",
"properties": {
"rust-analyzer.cargo.target": {
- "markdownDescription": "Compilation target override (target triple).",
+ "markdownDescription": "Compilation target override (target tuple).",
"default": null,
"type": [
"null",
@@ -740,7 +785,7 @@
"title": "check",
"properties": {
"rust-analyzer.check.workspace": {
- "markdownDescription": "Whether `--workspace` should be passed to `cargo check`.\nIf false, `-p <package>` will be passed instead.",
+ "markdownDescription": "Whether `--workspace` should be passed to `cargo check`.\nIf false, `-p <package>` will be passed instead if applicable. In case it is not, no\ncheck will be performed.",
"default": true,
"type": "boolean"
}
@@ -769,6 +814,51 @@
{
"title": "completion",
"properties": {
+ "rust-analyzer.completion.autoimport.exclude": {
+ "markdownDescription": "A list of full paths to items to exclude from auto-importing completions.\n\nTraits in this list won't have their methods suggested in completions unless the trait\nis in scope.\n\nYou can either specify a string path which defaults to type \"always\" or use the more verbose\nform `{ \"path\": \"path::to::item\", type: \"always\" }`.\n\nFor traits the type \"methods\" can be used to only exclude the methods but not the trait itself.\n\nThis setting also inherits `#rust-analyzer.completion.excludeTraits#`.",
+ "default": [
+ {
+ "path": "core::borrow::Borrow",
+ "type": "methods"
+ },
+ {
+ "path": "core::borrow::BorrowMut",
+ "type": "methods"
+ }
+ ],
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "always",
+ "methods"
+ ],
+ "enumDescriptions": [
+ "Do not show this item or its methods (if it is a trait) in auto-import completions.",
+ "Do not show this traits methods in auto-import completions."
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "title": "completion",
+ "properties": {
"rust-analyzer.completion.autoself.enable": {
"markdownDescription": "Toggles the additional completions that automatically show method calls and field accesses\nwith `self` prefixed to them when inside a method.",
"default": true,
@@ -799,6 +889,19 @@
{
"title": "completion",
"properties": {
+ "rust-analyzer.completion.excludeTraits": {
+ "markdownDescription": "A list of full paths to traits whose methods to exclude from completion.\n\nMethods from these traits won't be completed, even if the trait is in scope. However, they will still be suggested on expressions whose type is `dyn Trait`, `impl Trait` or `T where T: Trait`.\n\nNote that the trait themselves can still be completed.",
+ "default": [],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
+ "title": "completion",
+ "properties": {
"rust-analyzer.completion.fullFunctionSignatures.enable": {
"markdownDescription": "Whether to show full function/method signatures in completion docs.",
"default": false,
@@ -1145,6 +1248,16 @@
{
"title": "hover",
"properties": {
+ "rust-analyzer.hover.actions.updateTest.enable": {
+ "markdownDescription": "Whether to show `Update Test` action. Only applies when\n`#rust-analyzer.hover.actions.enable#` and `#rust-analyzer.hover.actions.run.enable#` are set.",
+ "default": true,
+ "type": "boolean"
+ }
+ }
+ },
+ {
+ "title": "hover",
+ "properties": {
"rust-analyzer.hover.documentation.enable": {
"markdownDescription": "Whether to show documentation on hover.",
"default": true,
@@ -1175,6 +1288,29 @@
{
"title": "hover",
"properties": {
+ "rust-analyzer.hover.maxSubstitutionLength": {
+ "markdownDescription": "Whether to show what types are used as generic arguments in calls etc. on hover, and what is their max length to show such types, beyond it they will be shown with ellipsis.\n\nThis can take three values: `null` means \"unlimited\", the string `\"hide\"` means to not show generic substitutions at all, and a number means to limit them to X characters.\n\nThe default is 20 characters.",
+ "default": 20,
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "type": "string",
+ "enum": [
+ "hide"
+ ]
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "title": "hover",
+ "properties": {
"rust-analyzer.hover.memoryLayout.alignment": {
"markdownDescription": "How to render the align information in a memory layout hover.",
"default": "hexadecimal",
@@ -1630,6 +1766,16 @@
{
"title": "inlayHints",
"properties": {
+ "rust-analyzer.inlayHints.implicitSizedBoundHints.enable": {
+ "markdownDescription": "Whether to show inlay hints for the implied type parameter `Sized` bound.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ {
+ "title": "inlayHints",
+ "properties": {
"rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
"markdownDescription": "Whether to show inlay type hints for elided lifetimes in function signatures.",
"default": "never",
@@ -1900,6 +2046,16 @@
}
},
{
+ "title": "lens",
+ "properties": {
+ "rust-analyzer.lens.updateTest.enable": {
+ "markdownDescription": "Whether to show `Update Test` lens. Only applies when\n`#rust-analyzer.lens.enable#` and `#rust-analyzer.lens.run.enable#` are set.",
+ "default": true,
+ "type": "boolean"
+ }
+ }
+ },
+ {
"title": "general",
"properties": {
"rust-analyzer.linkedProjects": {
@@ -2247,10 +2403,26 @@
{
"title": "typing",
"properties": {
- "rust-analyzer.typing.autoClosingAngleBrackets.enable": {
- "markdownDescription": "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.",
- "default": false,
- "type": "boolean"
+ "rust-analyzer.typing.excludeChars": {
+ "markdownDescription": "Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.",
+ "default": "|<",
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ }
+ },
+ {
+ "title": "vfs",
+ "properties": {
+ "rust-analyzer.vfs.extraIncludes": {
+ "markdownDescription": "Additional paths to include in the VFS. Generally for code that is\ngenerated or otherwise managed by a build system outside of Cargo,\nthough Cargo might be the eventual consumer.",
+ "default": [],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
}
}, |
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
December 11, 2024 07:28
648d00f
to
fe282d6
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2024-12-09
update rust-analyzer to 2024-12-16
Dec 17, 2024
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
2 times, most recently
from
December 24, 2024 07:25
b7be946
to
1f87462
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2024-12-16
update rust-analyzer to 2024-12-23
Dec 24, 2024
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
December 31, 2024 07:25
1f87462
to
adca5bb
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2024-12-23
update rust-analyzer to 2024-12-30
Dec 31, 2024
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
January 7, 2025 07:25
adca5bb
to
8ebeee7
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2024-12-30
update rust-analyzer to 2025-01-06
Jan 7, 2025
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
January 8, 2025 07:25
8ebeee7
to
1e34a12
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2025-01-06
update rust-analyzer to 2025-01-07
Jan 8, 2025
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
January 9, 2025 07:26
1e34a12
to
2afb4cb
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2025-01-07
update rust-analyzer to 2025-01-08
Jan 9, 2025
sublimelsp-app
bot
force-pushed
the
create-pull-request/patch
branch
from
January 13, 2025 07:26
2afb4cb
to
0539526
Compare
sublimelsp-app
bot
changed the title
update rust-analyzer to 2025-01-08
update rust-analyzer to 2025-01-13
Jan 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update rust-analyzer from 2024-12-02 to 2025-01-13 (see all changes).