We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc713ea commit 0fdca45Copy full SHA for 0fdca45
crates/ra_assists/src/assists/auto_import.rs
@@ -64,12 +64,16 @@ pub(crate) fn auto_import<F: ImportsLocator>(
64
return None;
65
}
66
67
- ctx.add_assist_group(AssistId("auto_import"), "auto import", || {
68
- proposed_imports
69
- .into_iter()
70
- .map(|import| import_to_action(import, &position, &path_to_import_syntax))
71
- .collect()
72
- })
+ ctx.add_assist_group(
+ AssistId("auto_import"),
+ format!("Import {}", path_to_import_syntax),
+ || {
+ proposed_imports
+ .into_iter()
73
+ .map(|import| import_to_action(import, &position, &path_to_import_syntax))
74
+ .collect()
75
+ },
76
+ )
77
78
79
fn import_to_action(import: String, position: &SyntaxNode, anchor: &SyntaxNode) -> ActionBuilder {
0 commit comments