]> git.lizzy.rs Git - rust.git/blobdiff - editors/code/package.json
Allow clients to configure the global workspace search limit
[rust.git] / editors / code / package.json
index e1cbe8ba64040271cdc736ffb8620d6c4718ce3a..245aa80d457d50edc05b452e28294e7d7f4ba1a4 100644 (file)
                         "Search for all symbols kinds"
                     ]
                 },
+                "rust-analyzer.workspace.symbol.search.limit": {
+                    "markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",
+                    "default": 128,
+                    "type": "integer",
+                    "minimum": 0
+                },
                 "$generated-end": {}
             }
         },