plugins.rust-tools.server.completion.addSemicolonToUnit

Whether to automatically add a semicolon when completing unit-returning functions.

In match arms it completes a comma instead.

Type: null or boolean

Default: null

Plugin default: true

Declared by:

plugins.rust-tools.server.completion.excludeTraits

A list of full paths to traits whose methods to exclude from completion.

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.

Note that the trait themselves can still be completed.

Type: null or (list of string)

Default: null

Plugin default: [ ]

Declared by:

plugins.rust-tools.server.completion.hideDeprecated

Whether to omit deprecated items from autocompletion. By default they are marked as deprecated but not hidden.

Type: null or boolean

Default: null

Plugin default: false

Declared by:

plugins.rust-tools.server.completion.limit

Maximum number of completions to return. If None, the limit is infinite.

Type: null or signed integer

Default: null

Plugin default: null

Declared by: