plugins.lsp.servers.rust_analyzer.settings.imports.preferNoStd
Prefer to unconditionally use imports of the core and alloc crate, over the std crate.
Type: null or boolean
Default:
null
Plugin default: false
Declared by:
plugins.lsp.servers.rust_analyzer.settings.imports.preferPrelude
Whether to prefer import paths containing a prelude module.
Type: null or boolean
Default:
null
Plugin default: false
Declared by:
plugins.lsp.servers.rust_analyzer.settings.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
superprefix if the parent module contains the requested item. - self: Insert import paths relative to the current module, using up to one
superprefix if the parent module contains the requested item. Prefixesselfin front of the path if it starts with a module. - crate: Force import paths to be absolute by always starting them with
crateor the extern crate name they come from.
Type: null or one of “plain”, “self”, “crate”
Default:
null
Plugin default: "crate"
Declared by:
plugins.lsp.servers.rust_analyzer.settings.imports.prefixExternPrelude
Whether to prefix external (including std, core) crate imports with ::. e.g. “use ::std::io::Read;”.
Type: null or boolean
Default:
null
Plugin default: false
Declared by: