How do i tell rust-analyzer what kind of bracket to use for a macro?

· Users Rust Lang · May 15, 2026, 10:52 p.m.
Summary
The blog post discusses how to customize rust-analyzer's bracket completion for macros, particularly when the default completion doesn't align with personal preferences for using braces instead of parentheses. The author describes their macro 'floop' and seeks a way to instruct rust-analyzer to use curly braces for calling the macro.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →