Using the Rust-Analyzer and VS code, auto-complete snippets use default rust formatting, i.e fn
gets replaced with
fn () {
}
However, I have never liked this brace style, nor do I plan on sharing my code, and for my own work I want to be able to use my own preferred brace placement style of
fn ()
{
}
I have looked through the settings for Rust-Analyzer and cant seem to find out where/how to do this. Is it possible? I found rustfmt but from my knowledge that is meant to be run on files after they are written.