|
29 | 29 | "engines": {
|
30 | 30 | "vscode": "^1.78.0"
|
31 | 31 | },
|
32 |
| - "enabledApiProposals": [], |
| 32 | + "enabledApiProposals": [ ], |
33 | 33 | "scripts": {
|
34 | 34 | "vscode:prepublish": "npm run build-base -- --minify",
|
35 | 35 | "package": "vsce package -o rust-analyzer.vsix",
|
|
524 | 524 | },
|
525 | 525 | "rust-analyzer.debug.engineSettings": {
|
526 | 526 | "type": "object",
|
527 |
| - "default": {}, |
| 527 | + "default": { }, |
528 | 528 | "markdownDescription": "Optional settings passed to the debug engine. Example: `{ \"lldb\": { \"terminal\":\"external\"} }`"
|
529 | 529 | }
|
530 | 530 | }
|
|
763 | 763 | "properties": {
|
764 | 764 | "rust-analyzer.cargo.extraArgs": {
|
765 | 765 | "markdownDescription": "Extra arguments that are passed to every cargo invocation.",
|
766 |
| - "default": [], |
| 766 | + "default": [ ], |
767 | 767 | "type": "array",
|
768 | 768 | "items": {
|
769 | 769 | "type": "string"
|
|
776 | 776 | "properties": {
|
777 | 777 | "rust-analyzer.cargo.extraEnv": {
|
778 | 778 | "markdownDescription": "Extra environment variables that will be set when running cargo, rustc\nor other commands within the workspace. Useful for setting RUSTFLAGS.",
|
779 |
| - "default": {}, |
| 779 | + "default": { }, |
780 | 780 | "type": "object"
|
781 | 781 | }
|
782 | 782 | }
|
|
786 | 786 | "properties": {
|
787 | 787 | "rust-analyzer.cargo.features": {
|
788 | 788 | "markdownDescription": "List of features to activate.\n\nSet this to `\"all\"` to pass `--all-features` to cargo.",
|
789 |
| - "default": [], |
| 789 | + "default": [ ], |
790 | 790 | "anyOf": [
|
791 | 791 | {
|
792 | 792 | "type": "string",
|
|
924 | 924 | "properties": {
|
925 | 925 | "rust-analyzer.check.extraArgs": {
|
926 | 926 | "markdownDescription": "Extra arguments for `cargo check`.",
|
927 |
| - "default": [], |
| 927 | + "default": [ ], |
928 | 928 | "type": "array",
|
929 | 929 | "items": {
|
930 | 930 | "type": "string"
|
|
937 | 937 | "properties": {
|
938 | 938 | "rust-analyzer.check.extraEnv": {
|
939 | 939 | "markdownDescription": "Extra environment variables that will be set when running `cargo check`.\nExtends `#rust-analyzer.cargo.extraEnv#`.",
|
940 |
| - "default": {}, |
| 940 | + "default": { }, |
941 | 941 | "type": "object"
|
942 | 942 | }
|
943 | 943 | }
|
|
976 | 976 | "properties": {
|
977 | 977 | "rust-analyzer.check.ignore": {
|
978 | 978 | "markdownDescription": "List of `cargo check` (or other command specified in `check.command`) diagnostics to ignore.\n\nFor example for `cargo check`: `dead_code`, `unused_imports`, `unused_variables`,...",
|
979 |
| - "default": [], |
| 979 | + "default": [ ], |
980 | 980 | "type": "array",
|
981 | 981 | "items": {
|
982 | 982 | "type": "string"
|
|
1243 | 1243 | "properties": {
|
1244 | 1244 | "rust-analyzer.diagnostics.disabled": {
|
1245 | 1245 | "markdownDescription": "List of rust-analyzer diagnostics to disable.",
|
1246 |
| - "default": [], |
| 1246 | + "default": [ ], |
1247 | 1247 | "type": "array",
|
1248 | 1248 | "items": {
|
1249 | 1249 | "type": "string"
|
|
1277 | 1277 | "properties": {
|
1278 | 1278 | "rust-analyzer.diagnostics.remapPrefix": {
|
1279 | 1279 | "markdownDescription": "Map of prefixes to be substituted when parsing diagnostic file paths.\nThis should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.",
|
1280 |
| - "default": {}, |
| 1280 | + "default": { }, |
1281 | 1281 | "type": "object"
|
1282 | 1282 | }
|
1283 | 1283 | }
|
|
1297 | 1297 | "properties": {
|
1298 | 1298 | "rust-analyzer.diagnostics.warningsAsHint": {
|
1299 | 1299 | "markdownDescription": "List of warnings that should be displayed with hint severity.\n\nThe warnings will be indicated by faded text or three dots in code\nand will not show up in the `Problems Panel`.",
|
1300 |
| - "default": [], |
| 1300 | + "default": [ ], |
1301 | 1301 | "type": "array",
|
1302 | 1302 | "items": {
|
1303 | 1303 | "type": "string"
|
|
1310 | 1310 | "properties": {
|
1311 | 1311 | "rust-analyzer.diagnostics.warningsAsInfo": {
|
1312 | 1312 | "markdownDescription": "List of warnings that should be displayed with info severity.\n\nThe warnings will be indicated by a blue squiggly underline in code\nand a blue icon in the `Problems Panel`.",
|
1313 |
| - "default": [], |
| 1313 | + "default": [ ], |
1314 | 1314 | "type": "array",
|
1315 | 1315 | "items": {
|
1316 | 1316 | "type": "string"
|
|
1323 | 1323 | "properties": {
|
1324 | 1324 | "rust-analyzer.files.excludeDirs": {
|
1325 | 1325 | "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.",
|
1326 |
| - "default": [], |
| 1326 | + "default": [ ], |
1327 | 1327 | "type": "array",
|
1328 | 1328 | "items": {
|
1329 | 1329 | "type": "string"
|
|
2138 | 2138 | }
|
2139 | 2139 | }
|
2140 | 2140 | },
|
2141 |
| - { |
2142 |
| - "title": "lens", |
2143 |
| - "properties": { |
2144 |
| - "rust-analyzer.lens.forceCustomCommands": { |
2145 |
| - "markdownDescription": "Internal config: use custom client-side commands even when the\nclient doesn't set the corresponding capability.", |
2146 |
| - "default": true, |
2147 |
| - "type": "boolean" |
2148 |
| - } |
2149 |
| - } |
2150 |
| - }, |
2151 | 2141 | {
|
2152 | 2142 | "title": "lens",
|
2153 | 2143 | "properties": {
|
|
2231 | 2221 | "properties": {
|
2232 | 2222 | "rust-analyzer.linkedProjects": {
|
2233 | 2223 | "markdownDescription": "Disable project auto-discovery in favor of explicitly specified set\nof projects.\n\nElements must be paths pointing to `Cargo.toml`,\n`rust-project.json`, `.rs` files (which will be treated as standalone files) or JSON\nobjects in `rust-project.json` format.",
|
2234 |
| - "default": [], |
| 2224 | + "default": [ ], |
2235 | 2225 | "type": "array",
|
2236 | 2226 | "items": {
|
2237 | 2227 | "type": [
|
|
2262 | 2252 | "properties": {
|
2263 | 2253 | "rust-analyzer.lru.query.capacities": {
|
2264 | 2254 | "markdownDescription": "Sets the LRU capacity of the specified queries.",
|
2265 |
| - "default": {}, |
| 2255 | + "default": { }, |
2266 | 2256 | "type": "object"
|
2267 | 2257 | }
|
2268 | 2258 | }
|
|
2342 | 2332 | "properties": {
|
2343 | 2333 | "rust-analyzer.procMacro.ignored": {
|
2344 | 2334 | "markdownDescription": "These proc-macros will be ignored when trying to expand them.\n\nThis config takes a map of crate names with the exported proc-macro names to ignore as values.",
|
2345 |
| - "default": {}, |
| 2335 | + "default": { }, |
2346 | 2336 | "type": "object"
|
2347 | 2337 | }
|
2348 | 2338 | }
|
|
2398 | 2388 | "properties": {
|
2399 | 2389 | "rust-analyzer.runnables.extraArgs": {
|
2400 | 2390 | "markdownDescription": "Additional arguments to be passed to cargo for runnables such as\ntests or binaries. For example, it may be `--release`.",
|
2401 |
| - "default": [], |
| 2391 | + "default": [ ], |
2402 | 2392 | "type": "array",
|
2403 | 2393 | "items": {
|
2404 | 2394 | "type": "string"
|
|
2439 | 2429 | "properties": {
|
2440 | 2430 | "rust-analyzer.rustfmt.extraArgs": {
|
2441 | 2431 | "markdownDescription": "Additional arguments to `rustfmt`.",
|
2442 |
| - "default": [], |
| 2432 | + "default": [ ], |
2443 | 2433 | "type": "array",
|
2444 | 2434 | "items": {
|
2445 | 2435 | "type": "string"
|
|
0 commit comments