@@ -285,6 +285,35 @@ In `match` arms it completes a comma instead.
285285-- 
286286Toggles the additional completions that automatically add imports when completed.
287287Note that your client must specify the `additionalTextEdits`  LSP client capability to truly have this feature enabled.
288+ -- 
289+ [[rust-analyzer.completion.autoimport.exclude]]rust-analyzer.completion.autoimport.exclude::
290+ +
291+ -- 
292+ Default:
293+ ---- 
294+ [
295+   {
296+     "path": "core::borrow::Borrow", 
297+     "type": "methods"
298+   },
299+   {
300+     "path": "core::borrow::BorrowMut", 
301+     "type": "methods"
302+   }
303+ ]
304+ ---- 
305+ A list of full paths to items to exclude from auto-importing completions.
306+ 
307+ Traits in this list won't have their methods suggested in completions unless the trait
308+ is in scope.
309+ 
310+ You can either specify a string path which defaults to type "always" or use the more verbose
311+ form `{ "path": "path::to::item", type: "always" }` .
312+ 
313+ For traits the type "methods" can be used to only exclude the methods but not the trait itself.
314+ 
315+ This setting also inherits `#rust-analyzer.completion.excludeTraits#` .
316+ 
288317-- 
289318[[rust-analyzer.completion.autoself.enable]]rust-analyzer.completion.autoself.enable (default: `true` )::
290319+
@@ -297,6 +326,15 @@ with `self` prefixed to them when inside a method.
297326-- 
298327Whether to add parenthesis and argument snippets when completing function.
299328-- 
329+ [[rust-analyzer.completion.excludeTraits]]rust-analyzer.completion.excludeTraits (default: `[]` )::
330+ +
331+ -- 
332+ A list of full paths to traits whose methods to exclude from completion.
333+ 
334+ Methods 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` .
335+ 
336+ Note that the trait themselves can still be completed.
337+ -- 
300338[[rust-analyzer.completion.fullFunctionSignatures.enable]]rust-analyzer.completion.fullFunctionSignatures.enable (default: `false` )::
301339+
302340-- 
@@ -497,6 +535,12 @@ Whether to show `References` action. Only applies when
497535Whether to show `Run`  action. Only applies when
498536`#rust-analyzer.hover.actions.enable#`  is set.
499537-- 
538+ [[rust-analyzer.hover.actions.updateTest.enable]]rust-analyzer.hover.actions.updateTest.enable (default: `true` )::
539+ +
540+ -- 
541+ Whether to show `Update Test`  action. Only applies when
542+ `#rust-analyzer.hover.actions.enable#`  and `#rust-analyzer.hover.actions.run.enable#`  are set.
543+ -- 
500544[[rust-analyzer.hover.documentation.enable]]rust-analyzer.hover.documentation.enable (default: `true` )::
501545+
502546-- 
@@ -808,6 +852,12 @@ Only applies when `#rust-analyzer.lens.enable#` is set.
808852Whether to show `Run`  lens. Only applies when
809853`#rust-analyzer.lens.enable#`  is set.
810854-- 
855+ [[rust-analyzer.lens.updateTest.enable]]rust-analyzer.lens.updateTest.enable (default: `true` )::
856+ +
857+ -- 
858+ Whether to show `Update Test`  lens. Only applies when
859+ `#rust-analyzer.lens.enable#`  and `#rust-analyzer.lens.run.enable#`  are set.
860+ -- 
811861[[rust-analyzer.linkedProjects]]rust-analyzer.linkedProjects (default: `[]` )::
812862+
813863-- 
0 commit comments