expand glob import
should expand to all possible items without filtering for pub use
reexports.
#13511
Labels
expand glob import
should expand to all possible items without filtering for pub use
reexports.
#13511
rust-analyzer version:
0.4.1255-standalone
rustc version:
rustc 1.66.0-nightly (3f83906b3 2022-09-24)
After "expand glob import", I expect.
but I get:
Unless RA is willing to analyse the whole workspace for which reexports are actually needed, I think it should just expand to everything. This would allow for easy gradual refactor by moving chunks of code to separate files without also having multiple glob imports one after another.
Alternatively, a second, simpler code assist "Expand glob import (all items)" can be added.
Workaround: Use Ctrl+Space, Enter, Comma, Ctrl+Space, Enter, Comma, ... repeatedly until it offers
self.
The text was updated successfully, but these errors were encountered: