Feature request: Setting to pull import suggestions/autoimports from core::
not std::
#10718
Labels
A-assists
A-completion
autocompletion
A-config
configuration
C-feature
Category: feature request
S-actionable
Someone could pick this issue up and work on it right now
Sorry in advance if I just failed to find the way to do this.
I would like to be able to configure r-a to prefer
core::
for autoimports (err, the import suggestion list, I guess) whenever available, rather thanstd::
. It already does this when it knows#![no_std]
is enabled, but often this is conditional on some feature which happens to be on under the current r-a configuration, but isn't guaranteed to be on in that module, etc.I would honestly even be fine if this option forced r-a to only ever use
core::
for this and ignorestd::
, since I usually have to put imports fromstd::
in some scope or behind a#[cfg]
anyway.The text was updated successfully, but these errors were encountered: