-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
A-completionautocompletionautocompletionC-featureCategory: feature requestCategory: feature requestS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
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).
SamBtombh
Metadata
Metadata
Assignees
Labels
A-completionautocompletionautocompletionC-featureCategory: feature requestCategory: feature requestS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now