For example if you want to format
void foo() {
int blah;
int foo;
int bar;
}
Navigate the the first '{' and press '=%' = will tell it format, where '%' will tell it to go to the corresponding block.
Topics for professional software engineers
void foo() {
int blah;
int foo;
int bar;
}