Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json89
1 files changed, 78 insertions, 11 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index d0410c70da..2157cbd486 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1633,17 +1633,6 @@
}
},
{
- "title": "Gc",
- "properties": {
- "rust-analyzer.gc.frequency": {
- "markdownDescription": "This config controls the frequency in which rust-analyzer will perform its internal Garbage\nCollection. It is specified in revisions, roughly equivalent to number of changes. The default\nis 1000.\n\nSetting a smaller value may help limit peak memory usage at the expense of speed.",
- "default": 1000,
- "type": "integer",
- "minimum": 0
- }
- }
- },
- {
"title": "Goto Implementations",
"properties": {
"rust-analyzer.gotoImplementations.filterAdjacentDerives": {
@@ -2828,6 +2817,42 @@
}
},
{
+ "title": "Rename",
+ "properties": {
+ "rust-analyzer.rename.showConflicts": {
+ "markdownDescription": "Whether to warn when a rename will cause conflicts (change the meaning of the code).",
+ "default": true,
+ "type": "boolean"
+ }
+ }
+ },
+ {
+ "title": "Runnables",
+ "properties": {
+ "rust-analyzer.runnables.bench.command": {
+ "markdownDescription": "Subcommand used for bench runnables instead of `bench`.",
+ "default": "bench",
+ "type": "string"
+ }
+ }
+ },
+ {
+ "title": "Runnables",
+ "properties": {
+ "rust-analyzer.runnables.bench.overrideCommand": {
+ "markdownDescription": "Override the command used for bench runnables.\nThe first element of the array should be the program to execute (for example, `cargo`).\n\nUse the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically\nreplace the package name, target option (such as `--bin` or `--example`), the target name and\nthe test name (name of test function or test mod path).",
+ "default": null,
+ "type": [
+ "null",
+ "array"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
"title": "Runnables",
"properties": {
"rust-analyzer.runnables.command": {
@@ -2843,6 +2868,22 @@
{
"title": "Runnables",
"properties": {
+ "rust-analyzer.runnables.doctest.overrideCommand": {
+ "markdownDescription": "Override the command used for bench runnables.\nThe first element of the array should be the program to execute (for example, `cargo`).\n\nUse the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically\nreplace the package name, target option (such as `--bin` or `--example`), the target name and\nthe test name (name of test function or test mod path).",
+ "default": null,
+ "type": [
+ "null",
+ "array"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
+ "title": "Runnables",
+ "properties": {
"rust-analyzer.runnables.extraArgs": {
"markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
"default": [],
@@ -2869,6 +2910,32 @@
}
},
{
+ "title": "Runnables",
+ "properties": {
+ "rust-analyzer.runnables.test.command": {
+ "markdownDescription": "Subcommand used for test runnables instead of `test`.",
+ "default": "test",
+ "type": "string"
+ }
+ }
+ },
+ {
+ "title": "Runnables",
+ "properties": {
+ "rust-analyzer.runnables.test.overrideCommand": {
+ "markdownDescription": "Override the command used for test runnables.\nThe first element of the array should be the program to execute (for example, `cargo`).\n\nUse the placeholders `${package}`, `${target_arg}`, `${target}`, `${test_name}` to dynamically\nreplace the package name, target option (such as `--bin` or `--example`), the target name and\nthe test name (name of test function or test mod path).",
+ "default": null,
+ "type": [
+ "null",
+ "array"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ {
"title": "Rustc",
"properties": {
"rust-analyzer.rustc.source": {