fork/rust-analyzer
git clone https://git.julia.blue/fork/rust-analyzer
9ceaff91d3
2022-07-04
1[[rust-analyzer.assist.expressionFillDefault]]rust-analyzer.assist.expressionFillDefault (default: `"todo"`):: 2+ 3-- 4Placeholder expression to use for missing expressions in assists. 5-- 6[[rust-analyzer.cachePriming.enable]]rust-analyzer.cachePriming.enable (default: `true`):: 7+ 8-- 9Warm up caches on project load. 10-- 11[[rust-analyzer.cachePriming.numThreads]]rust-analyzer.cachePriming.numThreads (default: `0`):: 12+ 13-- 14How many worker threads to handle priming caches. The default `0` means to pick automatically. 15-- 16[[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`):: 17+ 18-- 19Automatically refresh project info via `cargo metadata` on 20`Cargo.toml` or `.cargo/config.toml` changes. 21-- 22[[rust-analyzer.cargo.buildScripts.enable]]rust-analyzer.cargo.buildScripts.enable (default: `true`):: 23+ 24-- 25Run build scripts (`build.rs`) for more precise code analysis. 26-- 27[[rust-analyzer.cargo.buildScripts.overrideCommand]]rust-analyzer.cargo.buildScripts.overrideCommand (default: `null`):: 28+ 29-- 30Override the command rust-analyzer uses to run build scripts and 31build procedural macros. The command is required to output json 32and should therefor include `--message-format=json` or a similar 33option. 34 35By default, a cargo invocation will be constructed for the configured 36targets and features, with the following base command line: 37 38```bash 39cargo check --quiet --workspace --message-format=json --all-targets 40``` 41. 42-- 43[[rust-analyzer.cargo.buildScripts.useRustcWrapper]]rust-analyzer.cargo.buildScripts.useRustcWrapper (default: `true`):: 44+ 45-- 46Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to 47avoid compiling unnecessary things. 48-- 49[[rust-analyzer.cargo.features]]rust-analyzer.cargo.features (default: `[]`):: 50+ 51-- 52List of features to activate. 53 54Set this to `"all"` to pass `--all-features` to cargo. 55-- 56[[rust-analyzer.cargo.noDefaultFeatures]]rust-analyzer.cargo.noDefaultFeatures (default: `false`):: 57+ 58-- 59Whether to pass `--no-default-features` to cargo. 60-- 61[[rust-analyzer.cargo.noSysroot]]rust-analyzer.cargo.noSysroot (default: `false`):: 62+ 63-- 64Internal config for debugging, disables loading of sysroot crates. 65-- 66[[rust-analyzer.cargo.target]]rust-analyzer.cargo.target (default: `null`):: 67+ 68-- 69Compilation target override (target triple). 70-- 71[[rust-analyzer.cargo.unsetTest]]rust-analyzer.cargo.unsetTest (default: `["core"]`):: 72+ 73-- 74Unsets `#[cfg(test)]` for the specified crates. 75-- 76[[rust-analyzer.checkOnSave.allTargets]]rust-analyzer.checkOnSave.allTargets (default: `true`):: 77+ 78-- 79Check all targets and tests (`--all-targets`). 80-- 81[[rust-analyzer.checkOnSave.command]]rust-analyzer.checkOnSave.command (default: `"check"`):: 82+ 83-- 84Cargo command to use for `cargo check`. 85-- 86[[rust-analyzer.checkOnSave.enable]]rust-analyzer.checkOnSave.enable (default: `true`):: 87+ 88-- 89Run specified `cargo check` command for diagnostics on save. 90-- 91[[rust-analyzer.checkOnSave.extraArgs]]rust-analyzer.checkOnSave.extraArgs (default: `[]`):: 92+ 93-- 94Extra arguments for `cargo check`. 95-- 96[[rust-analyzer.checkOnSave.features]]rust-analyzer.checkOnSave.features (default: `null`):: 97+ 98-- 99List of features to activate. Defaults to 100`#rust-analyzer.cargo.features#`. 101 102Set to `"all"` to pass `--all-features` to cargo. 103-- 104[[rust-analyzer.checkOnSave.noDefaultFeatures]]rust-analyzer.checkOnSave.noDefaultFeatures (default: `null`):: 105+ 106-- 107Whether to pass `--no-default-features` to cargo. Defaults to 108`#rust-analyzer.cargo.noDefaultFeatures#`. 109-- 110[[rust-analyzer.checkOnSave.overrideCommand]]rust-analyzer.checkOnSave.overrideCommand (default: `null`):: 111+ 112-- 113Override the command rust-analyzer uses to run build scripts and 114build procedural macros. The command is required to output json 115and should therefor include `--message-format=json` or a similar 116option. 117 118An example command would be: 119 120```bash 121cargo check --workspace --message-format=json --all-targets 122``` 123. 124-- 125[[rust-analyzer.checkOnSave.target]]rust-analyzer.checkOnSave.target (default: `null`):: 126+ 127-- 128Check for a specific target. Defaults to 129`#rust-analyzer.cargo.target#`. 130-- 131[[rust-analyzer.completion.autoimport.enable]]rust-analyzer.completion.autoimport.enable (default: `true`):: 132+ 133-- 134Toggles the additional completions that automatically add imports when completed. 135Note that your client must specify the `additionalTextEdits` LSP client capability to truly have this feature enabled. 136-- 137[[rust-analyzer.completion.autoself.enable]]rust-analyzer.completion.autoself.enable (default: `true`):: 138+ 139-- 140Toggles the additional completions that automatically show method calls and field accesses 141with `self` prefixed to them when inside a method. 142-- 143[[rust-analyzer.completion.callable.snippets]]rust-analyzer.completion.callable.snippets (default: `"fill_arguments"`):: 144+ 145-- 146Whether to add parenthesis and argument snippets when completing function. 147-- 148[[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`):: 149+ 150-- 151Whether to show postfix snippets like `dbg`, `if`, `not`, etc. 152-- 153[[rust-analyzer.completion.privateEditable.enable]]rust-analyzer.completion.privateEditable.enable (default: `false`):: 154+ 155-- 156Enables completions of private items and fields that are defined in the current workspace even if they are not visible at the current position. 157-- 158[[rust-analyzer.completion.snippets.custom]]rust-analyzer.completion.snippets.custom:: 159+ 160-- 161Default: 162---- 163{ 164 "Arc::new": { 165 "postfix": "arc", 166 "body": "Arc::new(${receiver})", 167 "requires": "std::sync::Arc", 168 "description": "Put the expression into an `Arc`", 169 "scope": "expr" 170 }, 171 "Rc::new": { 172 "postfix": "rc", 173 "body": "Rc::new(${receiver})", 174 "requires": "std::rc::Rc", 175 "description": "Put the expression into an `Rc`", 176 "scope": "expr" 177 }, 178 "Box::pin": { 179 "postfix": "pinbox", 180 "body": "Box::pin(${receiver})", 181 "requires": "std::boxed::Box", 182 "description": "Put the expression into a pinned `Box`", 183 "scope": "expr" 184 }, 185 "Ok": { 186 "postfix": "ok", 187 "body": "Ok(${receiver})", 188 "description": "Wrap the expression in a `Result::Ok`", 189 "scope": "expr" 190 }, 191 "Err": { 192 "postfix": "err", 193 "body": "Err(${receiver})", 194 "description": "Wrap the expression in a `Result::Err`", 195 "scope": "expr" 196 }, 197 "Some": { 198 "postfix": "some", 199 "body": "Some(${receiver})", 200 "description": "Wrap the expression in an `Option::Some`", 201 "scope": "expr" 202 } 203 } 204---- 205Custom completion snippets. 206 207-- 208[[rust-analyzer.diagnostics.disabled]]rust-analyzer.diagnostics.disabled (default: `[]`):: 209+ 210-- 211List of rust-analyzer diagnostics to disable. 212-- 213[[rust-analyzer.diagnostics.enable]]rust-analyzer.diagnostics.enable (default: `true`):: 214+ 215-- 216Whether to show native rust-analyzer diagnostics. 217-- 218[[rust-analyzer.diagnostics.experimental.enable]]rust-analyzer.diagnostics.experimental.enable (default: `false`):: 219+ 220-- 221Whether to show experimental rust-analyzer diagnostics that might 222have more false positives than usual. 223-- 224[[rust-analyzer.diagnostics.remapPrefix]]rust-analyzer.diagnostics.remapPrefix (default: `{}`):: 225+ 226-- 227Map of prefixes to be substituted when parsing diagnostic file paths. 228This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`. 229-- 230[[rust-analyzer.diagnostics.warningsAsHint]]rust-analyzer.diagnostics.warningsAsHint (default: `[]`):: 231+ 232-- 233List of warnings that should be displayed with hint severity. 234 235The warnings will be indicated by faded text or three dots in code 236and will not show up in the `Problems Panel`. 237-- 238[[rust-analyzer.diagnostics.warningsAsInfo]]rust-analyzer.diagnostics.warningsAsInfo (default: `[]`):: 239+ 240-- 241List of warnings that should be displayed with info severity. 242 243The warnings will be indicated by a blue squiggly underline in code 244and a blue icon in the `Problems Panel`. 245-- 246[[rust-analyzer.files.excludeDirs]]rust-analyzer.files.excludeDirs (default: `[]`):: 247+ 248-- 249These directories will be ignored by rust-analyzer. They are 250relative to the workspace root, and globs are not supported. You may 251also need to add the folders to Code's `files.watcherExclude`. 252-- 253[[rust-analyzer.files.watcher]]rust-analyzer.files.watcher (default: `"client"`):: 254+ 255-- 256Controls file watching implementation. 257-- 258[[rust-analyzer.highlightRelated.breakPoints.enable]]rust-analyzer.highlightRelated.breakPoints.enable (default: `true`):: 259+ 260-- 261Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords. 262-- 263[[rust-analyzer.highlightRelated.exitPoints.enable]]rust-analyzer.highlightRelated.exitPoints.enable (default: `true`):: 264+ 265-- 266Enables highlighting of all exit points while the cursor is on any `return`, `?`, `fn`, or return type arrow (`->`). 267-- 268[[rust-analyzer.highlightRelated.references.enable]]rust-analyzer.highlightRelated.references.enable (default: `true`):: 269+ 270-- 271Enables highlighting of related references while the cursor is on any identifier. 272-- 273[[rust-analyzer.highlightRelated.yieldPoints.enable]]rust-analyzer.highlightRelated.yieldPoints.enable (default: `true`):: 274+ 275-- 276Enables highlighting of all break points for a loop or block context while the cursor is on any `async` or `await` keywords. 277-- 278[[rust-analyzer.hover.actions.debug.enable]]rust-analyzer.hover.actions.debug.enable (default: `true`):: 279+ 280-- 281Whether to show `Debug` action. Only applies when 282`#rust-analyzer.hover.actions.enable#` is set. 283-- 284[[rust-analyzer.hover.actions.enable]]rust-analyzer.hover.actions.enable (default: `true`):: 285+ 286-- 287Whether to show HoverActions in Rust files. 288-- 289[[rust-analyzer.hover.actions.gotoTypeDef.enable]]rust-analyzer.hover.actions.gotoTypeDef.enable (default: `true`):: 290+ 291-- 292Whether to show `Go to Type Definition` action. Only applies when 293`#rust-analyzer.hover.actions.enable#` is set. 294-- 295[[rust-analyzer.hover.actions.implementations.enable]]rust-analyzer.hover.actions.implementations.enable (default: `true`):: 296+ 297-- 298Whether to show `Implementations` action. Only applies when 299`#rust-analyzer.hover.actions.enable#` is set. 300-- 301[[rust-analyzer.hover.actions.references.enable]]rust-analyzer.hover.actions.references.enable (default: `false`):: 302+ 303-- 304Whether to show `References` action. Only applies when 305`#rust-analyzer.hover.actions.enable#` is set. 306-- 307[[rust-analyzer.hover.actions.run.enable]]rust-analyzer.hover.actions.run.enable (default: `true`):: 308+ 309-- 310Whether to show `Run` action. Only applies when 311`#rust-analyzer.hover.actions.enable#` is set. 312-- 313[[rust-analyzer.hover.documentation.enable]]rust-analyzer.hover.documentation.enable (default: `true`):: 314+ 315-- 316Whether to show documentation on hover. 317-- 318[[rust-analyzer.hover.links.enable]]rust-analyzer.hover.links.enable (default: `true`):: 319+ 320-- 321Use markdown syntax for links in hover. 322-- 323[[rust-analyzer.imports.granularity.enforce]]rust-analyzer.imports.granularity.enforce (default: `false`):: 324+ 325-- 326Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file. 327-- 328[[rust-analyzer.imports.granularity.group]]rust-analyzer.imports.granularity.group (default: `"crate"`):: 329+ 330-- 331How imports should be grouped into use statements. 332-- 333[[rust-analyzer.imports.group.enable]]rust-analyzer.imports.group.enable (default: `true`):: 334+ 335-- 336Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines. 337-- 338[[rust-analyzer.imports.merge.glob]]rust-analyzer.imports.merge.glob (default: `true`):: 339+ 340-- 341Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`. 342-- 343[[rust-analyzer.imports.prefix]]rust-analyzer.imports.prefix (default: `"plain"`):: 344+ 345-- 346The path structure for newly inserted paths to use. 347-- 348[[rust-analyzer.inlayHints.bindingModeHints.enable]]rust-analyzer.inlayHints.bindingModeHints.enable (default: `false`):: 349+ 350-- 351Whether to show inlay type hints for binding modes. 352-- 353[[rust-analyzer.inlayHints.chainingHints.enable]]rust-analyzer.inlayHints.chainingHints.enable (default: `true`):: 354+ 355-- 356Whether to show inlay type hints for method chains. 357-- 358[[rust-analyzer.inlayHints.closingBraceHints.enable]]rust-analyzer.inlayHints.closingBraceHints.enable (default: `true`):: 359+ 360-- 361Whether to show inlay hints after a closing `}` to indicate what item it belongs to. 362-- 363[[rust-analyzer.inlayHints.closingBraceHints.minLines]]rust-analyzer.inlayHints.closingBraceHints.minLines (default: `25`):: 364+ 365-- 366Minimum number of lines required before the `}` until the hint is shown (set to 0 or 1 367to always show them). 368-- 369[[rust-analyzer.inlayHints.closureReturnTypeHints.enable]]rust-analyzer.inlayHints.closureReturnTypeHints.enable (default: `"never"`):: 370+ 371-- 372Whether to show inlay type hints for return types of closures. 373-- 374[[rust-analyzer.inlayHints.lifetimeElisionHints.enable]]rust-analyzer.inlayHints.lifetimeElisionHints.enable (default: `"never"`):: 375+ 376-- 377Whether to show inlay type hints for elided lifetimes in function signatures. 378-- 379[[rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames]]rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames (default: `false`):: 380+ 381-- 382Whether to prefer using parameter names as the name for elided lifetime hints if possible. 383-- 384[[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `25`):: 385+ 386-- 387Maximum length for inlay hints. Set to null to have an unlimited length. 388-- 389[[rust-analyzer.inlayHints.parameterHints.enable]]rust-analyzer.inlayHints.parameterHints.enable (default: `true`):: 390+ 391-- 392Whether to show function parameter name inlay hints at the call 393site. 394-- 395[[rust-analyzer.inlayHints.reborrowHints.enable]]rust-analyzer.inlayHints.reborrowHints.enable (default: `"never"`):: 396+ 397-- 398Whether to show inlay type hints for compiler inserted reborrows. 399-- 400[[rust-analyzer.inlayHints.renderColons]]rust-analyzer.inlayHints.renderColons (default: `true`):: 401+ 402-- 403Whether to render leading colons for type hints, and trailing colons for parameter hints. 404-- 405[[rust-analyzer.inlayHints.typeHints.enable]]rust-analyzer.inlayHints.typeHints.enable (default: `true`):: 406+ 407-- 408Whether to show inlay type hints for variables. 409-- 410[[rust-analyzer.inlayHints.typeHints.hideClosureInitialization]]rust-analyzer.inlayHints.typeHints.hideClosureInitialization (default: `false`):: 411+ 412-- 413Whether to hide inlay type hints for `let` statements that initialize to a closure. 414Only applies to closures with blocks, same as `#rust-analyzer.inlayHints.closureReturnTypeHints.enable#`. 415-- 416[[rust-analyzer.inlayHints.typeHints.hideNamedConstructor]]rust-analyzer.inlayHints.typeHints.hideNamedConstructor (default: `false`):: 417+ 418-- 419Whether to hide inlay type hints for constructors. 420-- 421[[rust-analyzer.joinLines.joinAssignments]]rust-analyzer.joinLines.joinAssignments (default: `true`):: 422+ 423-- 424Join lines merges consecutive declaration and initialization of an assignment. 425-- 426[[rust-analyzer.joinLines.joinElseIf]]rust-analyzer.joinLines.joinElseIf (default: `true`):: 427+ 428-- 429Join lines inserts else between consecutive ifs. 430-- 431[[rust-analyzer.joinLines.removeTrailingComma]]rust-analyzer.joinLines.removeTrailingComma (default: `true`):: 432+ 433-- 434Join lines removes trailing commas. 435-- 436[[rust-analyzer.joinLines.unwrapTrivialBlock]]rust-analyzer.joinLines.unwrapTrivialBlock (default: `true`):: 437+ 438-- 439Join lines unwraps trivial blocks. 440-- 441[[rust-analyzer.lens.debug.enable]]rust-analyzer.lens.debug.enable (default: `true`):: 442+ 443-- 444Whether to show `Debug` lens. Only applies when 445`#rust-analyzer.lens.enable#` is set. 446-- 447[[rust-analyzer.lens.enable]]rust-analyzer.lens.enable (default: `true`):: 448+ 449-- 450Whether to show CodeLens in Rust files. 451-- 452[[rust-analyzer.lens.forceCustomCommands]]rust-analyzer.lens.forceCustomCommands (default: `true`):: 453+ 454-- 455Internal config: use custom client-side commands even when the 456client doesn't set the corresponding capability. 457-- 458[[rust-analyzer.lens.implementations.enable]]rust-analyzer.lens.implementations.enable (default: `true`):: 459+ 460-- 461Whether to show `Implementations` lens. Only applies when 462`#rust-analyzer.lens.enable#` is set. 463-- 464[[rust-analyzer.lens.references.adt.enable]]rust-analyzer.lens.references.adt.enable (default: `false`):: 465+ 466-- 467Whether to show `References` lens for Struct, Enum, and Union. 468Only applies when `#rust-analyzer.lens.enable#` is set. 469-- 470[[rust-analyzer.lens.references.enumVariant.enable]]rust-analyzer.lens.references.enumVariant.enable (default: `false`):: 471+ 472-- 473Whether to show `References` lens for Enum Variants. 474Only applies when `#rust-analyzer.lens.enable#` is set. 475-- 476[[rust-analyzer.lens.references.method.enable]]rust-analyzer.lens.references.method.enable (default: `false`):: 477+ 478-- 479Whether to show `Method References` lens. Only applies when 480`#rust-analyzer.lens.enable#` is set. 481-- 482[[rust-analyzer.lens.references.trait.enable]]rust-analyzer.lens.references.trait.enable (default: `false`):: 483+ 484-- 485Whether to show `References` lens for Trait. 486Only applies when `#rust-analyzer.lens.enable#` is set. 487-- 488[[rust-analyzer.lens.run.enable]]rust-analyzer.lens.run.enable (default: `true`):: 489+ 490-- 491Whether to show `Run` lens. Only applies when 492`#rust-analyzer.lens.enable#` is set. 493-- 494[[rust-analyzer.linkedProjects]]rust-analyzer.linkedProjects (default: `[]`):: 495+ 496-- 497Disable project auto-discovery in favor of explicitly specified set 498of projects. 499 500Elements must be paths pointing to `Cargo.toml`, 501`rust-project.json`, or JSON objects in `rust-project.json` format. 502-- 503[[rust-analyzer.lru.capacity]]rust-analyzer.lru.capacity (default: `null`):: 504+ 505-- 506Number of syntax trees rust-analyzer keeps in memory. Defaults to 128. 507-- 508[[rust-analyzer.notifications.cargoTomlNotFound]]rust-analyzer.notifications.cargoTomlNotFound (default: `true`):: 509+ 510-- 511Whether to show `can't find Cargo.toml` error message. 512-- 513[[rust-analyzer.procMacro.attributes.enable]]rust-analyzer.procMacro.attributes.enable (default: `true`):: 514+ 515-- 516Expand attribute macros. Requires `#rust-analyzer.procMacro.enable#` to be set. 517-- 518[[rust-analyzer.procMacro.enable]]rust-analyzer.procMacro.enable (default: `true`):: 519+ 520-- 521Enable support for procedural macros, implies `#rust-analyzer.cargo.buildScripts.enable#`. 522-- 523[[rust-analyzer.procMacro.ignored]]rust-analyzer.procMacro.ignored (default: `{}`):: 524+ 525-- 526These proc-macros will be ignored when trying to expand them. 527 528This config takes a map of crate names with the exported proc-macro names to ignore as values. 529-- 530[[rust-analyzer.procMacro.server]]rust-analyzer.procMacro.server (default: `null`):: 531+ 532-- 533Internal config, path to proc-macro server executable (typically, 534this is rust-analyzer itself, but we override this in tests). 535-- 536[[rust-analyzer.runnables.command]]rust-analyzer.runnables.command (default: `null`):: 537+ 538-- 539Command to be executed instead of 'cargo' for runnables. 540-- 541[[rust-analyzer.runnables.extraArgs]]rust-analyzer.runnables.extraArgs (default: `[]`):: 542+ 543-- 544Additional arguments to be passed to cargo for runnables such as 545tests or binaries. For example, it may be `--release`. 546-- 547[[rust-analyzer.rustc.source]]rust-analyzer.rustc.source (default: `null`):: 548+ 549-- 550Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private 551projects, or "discover" to try to automatically find it if the `rustc-dev` component 552is installed. 553 554Any project which uses rust-analyzer with the rustcPrivate 555crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it. 556 557This option does not take effect until rust-analyzer is restarted. 558-- 559[[rust-analyzer.rustfmt.extraArgs]]rust-analyzer.rustfmt.extraArgs (default: `[]`):: 560+ 561-- 562Additional arguments to `rustfmt`. 563-- 564[[rust-analyzer.rustfmt.overrideCommand]]rust-analyzer.rustfmt.overrideCommand (default: `null`):: 565+ 566-- 567Advanced option, fully override the command rust-analyzer uses for 568formatting. 569-- 570[[rust-analyzer.rustfmt.rangeFormatting.enable]]rust-analyzer.rustfmt.rangeFormatting.enable (default: `false`):: 571+ 572-- 573Enables the use of rustfmt's unstable range formatting command for the 574`textDocument/rangeFormatting` request. The rustfmt option is unstable and only 575available on a nightly build. 576-- 577[[rust-analyzer.semanticHighlighting.strings.enable]]rust-analyzer.semanticHighlighting.strings.enable (default: `true`):: 578+ 579-- 580Use semantic tokens for strings. 581 582In some editors (e.g. vscode) semantic tokens override other highlighting grammars. 583By disabling semantic tokens for strings, other grammars can be used to highlight 584their contents. 585-- 586[[rust-analyzer.signatureInfo.detail]]rust-analyzer.signatureInfo.detail (default: `"full"`):: 587+ 588-- 589Show full signature of the callable. Only shows parameters if disabled. 590-- 591[[rust-analyzer.signatureInfo.documentation.enable]]rust-analyzer.signatureInfo.documentation.enable (default: `true`):: 592+ 593-- 594Show documentation. 595-- 596[[rust-analyzer.typing.autoClosingAngleBrackets.enable]]rust-analyzer.typing.autoClosingAngleBrackets.enable (default: `false`):: 597+ 598-- 599Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list. 600-- 601[[rust-analyzer.workspace.symbol.search.kind]]rust-analyzer.workspace.symbol.search.kind (default: `"only_types"`):: 602+ 603-- 604Workspace symbol search kind. 605-- 606[[rust-analyzer.workspace.symbol.search.limit]]rust-analyzer.workspace.symbol.search.limit (default: `128`):: 607+ 608-- 609Limits the number of items returned from a workspace symbol search (Defaults to 128). 610Some clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search. 611Other clients requires all results upfront and might require a higher limit. 612-- 613[[rust-analyzer.workspace.symbol.search.scope]]rust-analyzer.workspace.symbol.search.scope (default: `"workspace"`):: 614+ 615-- 616Workspace symbol search scope. 617--