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 b33b843 commit 21f40f2Copy full SHA for 21f40f2
crates/ra_ide/src/completion/presentation.rs
@@ -103,7 +103,7 @@ impl Completions {
103
}
104
};
105
106
- // If not an import, add parenthesis automatically.
+ // Add `<>` for generic types
107
if ctx.is_path_type
108
&& !ctx.has_type_args
109
&& ctx.db.feature_flags.get("completion.insertion.add-call-parenthesis")
@@ -211,7 +211,7 @@ impl Completions {
211
.set_deprecated(is_deprecated(func, ctx.db))
212
.detail(function_signature.to_string());
213
214
- // Add `<>` for generic types
+ // If not an import, add parenthesis automatically.
215
if ctx.use_item_syntax.is_none()
216
&& !ctx.is_call
217
0 commit comments