plugins.rust-tools.server.imports.preferNoStd
Prefer to unconditionally use imports of the core and alloc crate, over the std crate.
default:
false
Type: null or boolean
Default:
null
Declared by:
plugins.rust-tools.server.imports.preferPrelude
Whether to prefer import paths containing a prelude
module.
default:
false
Type: null or boolean
Default:
null
Declared by:
plugins.rust-tools.server.imports.prefix
The path structure for newly inserted paths to use.
Values:
- plain: Insert import paths relative to the current module, using up to one
super
prefix if the parent module contains the requested item. - self: Insert import paths relative to the current module, using up to one
super
prefix if the parent module contains the requested item. Prefixesself
in front of the path if it starts with a module. - crate: Force import paths to be absolute by always starting them with
crate
or the extern crate name they come from.
"plain"
Type: null or one of “plain”, “self”, “crate”
Default:
null
Declared by: