I can either:
- Enable auto-imports
- Have sugestions for non-imported items
- Completion for these items insert a use statement on top of the file
- Disable auto-imports
- Not have sugestions for non-imported items at all.
Considering that rust analyzer already have quick-fix to Replace qualified path with use, I don't see a point of always inserting use statement on completion. I want third option:
- Insert qualified path
- Have sugestions for non-imported items
- Completion for these items insert qualified path
(when i type fs, I should still see an option for std::fs, but pressing tab should insert std::fs, not use std::fs; on top of the file).
I can either:
Considering that rust analyzer already have quick-fix to
Replace qualified path with use, I don't see a point of always inserting use statement on completion. I want third option:(when i type
fs, I should still see an option forstd::fs, but pressing tab should insertstd::fs, notuse std::fs;on top of the file).